It wasn't a huge amount of work to get it going today which was great, as I wasn't sure how much work this Assignment might be. Hopefully I'll get a bunch more done tomorrow and I'll get some screenshots posted if they look cool.
It's actually working out really well and it's a pretty good setup. Anyway just a bit of Computery stuff tonight. Also I had some awesome tea at Karen's apartment and hung out with Yung and Nick a whole bunch. Happy times. Labels: School. No comments:. Newer Post Older Post Home. Typical jinn reasoning goes like this. Unfortunately, the crate has been jostled, and some of the magical seals loosened. A loosened seal allows the cork of the bottle slowly to push out of the bottle, like the loosened cork of a bottle of champagne.
The player has to move the mouse over the bottle, and click the button to push the cork back into the bottle. If the player is too slow the jinnee escapes and the game is lost. When every cork has been pushed back into its bottle the game is won. Here is a rough outline of the game, as implemented in the prototype solution. The crate is a five by five array. Bottles begin to open at random times and speeds. The mouse controls the position of a fist, which punches a cork back in when any mouse button is pressed.
Punching a bottle when the cork is not opening breaks the bottle and releases the jinnee, losing the game. Failing to punch a bottle before the cork releases completely lets the jinnee escape and the game is lost. The game is won when all bottles have been punched exactly once. A notice appears telling the player that they have won. The game is lost when a jinnee escapes.
Four factors increase and decrease the difficulty of the game. The number of bottles in the crate. The size of the bottle. The speed at which the corks move in the bottles. The average interval between subsequent corks starting to move. This experimentation is essential for tuning the game, which must be done in order to get the game working well. Unlike normal game practice you should leave the tuning controls active so that I can examine how your game runs at differing speeds.
The initial default values of these parameters should be those you determined when you tuned your implementation. Resources You will find two resources to help you with the project on royal server.
Note that this prototype solution assumes that the player has enough imagination to see the jinnee for example. In judging the success of your implementation and I will most highly reward projects that make neat looking solutions using the simplest of means.
For example, don't use colour; you will lose marks for doing so. The prototype solution is intentionally a minimal and incomplete version of the game. Submitting an exact replica of it will not result in a high mark. In addition there are resources on the web that will help you with programming Xlib using C. Here are a few, far from the only ones.
0コメント