Write pseudocode for a GTK+ game of tic-tac-toe.
The code must have at least 20 steps: be as detailed as possible.
Use the code for sliders as a starting point.
.
Friday, April 18, 2008
Monday, April 14, 2008
Tuesday
Keep working on the game from yesterday.
If you finish, attempt to change the program so that the game is tic-tac-toe, instead of the 15-game.
.
If you finish, attempt to change the program so that the game is tic-tac-toe, instead of the 15-game.
.
Sunday, April 13, 2008
GTK+2 Game
You're going to be coding a simple game today.
This is the object of the game.
My Sub should have given you source code. I think it's really good practice to recode this by hand rather than copy and paste; you get a better feel for the code.
You have to understand the idea of tables in GTK+
Code the .c and .h files then compile; from Ubuntu, I used:
gcc game.c -o game `pkg-config --cflags --libs gtk+-2.0`
Then, go back and comment your code as detailed as possible; define variables, explain objects and functions.
Also add the new functions to your libraries.
;)
This is the object of the game.
My Sub should have given you source code. I think it's really good practice to recode this by hand rather than copy and paste; you get a better feel for the code.
You have to understand the idea of tables in GTK+
Code the .c and .h files then compile; from Ubuntu, I used:
gcc game.c -o game `pkg-config --cflags --libs gtk+-2.0`
Then, go back and comment your code as detailed as possible; define variables, explain objects and functions.
Also add the new functions to your libraries.
;)
Wednesday, April 9, 2008
Monday, April 7, 2008
Monday, December 17, 2007
Web UI Assignment
You will create a series of web pages that will allow a visitor to upload to & browse a file database; see the handout.
.
.
Monday, December 10, 2007
Subscribe to:
Posts (Atom)
