Games
-
Crossword Puzzle
Difficulty: Beginner
Create a crossword puzzle which links words together on common letters. Provide a list of clues for each word and let the user enter fill in the words until the entire crossword is filled in.
-
Memory Puzzle
Difficulty: Beginner
A board full of overturned cards. There is a pair for each card. The player flips over two cards. If they match, then they stay overturned. Otherwise they flip back. The player needs to overturn all the cards in the fewest moves to win.
-
Simon
Difficulty: Beginner
Four colored buttons light up in a specific pattern. After displaying the pattern, the player must repeat the pattern by clicking the buttons in proper order. The pattern gets longer each time the player completes the pattern. If the player presses a wrong button, the game ends.
-
Bejeweled
Difficulty: Intermediate
The board is filled with seven different types of jewels. The player can swap two adjacent jewels to form a three-in-a-row, causing the jewels to disappear and the jewels on top of them to fall down. Creating chain reactions gives bonus points.
-
Connect Four
Difficulty: Intermediate
Two players of different colors drop their tokens on an upright board. The player to make four tokens in a row, column, or diagonal wins. Creating an AI for this requires a simple minimax algorithm.
-
Nibbles
Difficulty: Intermediate
A worm or snake constantly moves around the board. The player controls the direction the “head” of the worm moves, and the worm must try to eat apples that randomly appear. Eating an apply causes the worm to grow in length. The game ends if the worm crashes into the edge of the board or into itself.
-
Chess and Checkers
Difficulty: Intermediate
Simply put a game of chess or checkers. Try to make it playable online and if you can use a graphical user interface that can also undo or redo a step as well as keep a history of moves for replay.
-
Tic-tac-toe
Difficulty: Intermediate
Players put down their X or O symbol on a 3x3 board and try to get three in a row.
-
Maze
Difficulty: Intermediate
Player runs through a maze to the exit. This is more of an exercise in writing maze-generation algorithms.
-
Fruit Ninja
Difficulty: Intermediate
Objects are thrown up over the screen and the player must drag the mouse over them.
-
Typespeed
Difficulty: Intermediate
A typing game where words slowly move to the right side of the screen. The player must type the word to make them disappear. The player loses after enough words hit the right side of the screen.
-
Game of Threes
Difficulty: Expert
The user enters a single number like 100 and your program repeatedly does the following:
- If the number is divisible by 3, divide it by 3.
-
If it is not, either add or subtract 1 to make it divisible by three then divide it by 3. The game stops when the number reaches three. Your program’s output should be the list of valid steps taken to arrive at the final answer 1. For the number 100, 100 -1 33 0 11 1 4 1 would be the valid output.
-
Words with Enemies
Difficulty: Intermediate
There is a valley. On each side there are two cannons firing words at each other. In the middle of the valley the words make contact and explode. Similar letters from each word cancel each other out and the leftover falls into the valley and fills it up. Make a Player1 versus CPU program that generates a word to counter the user’s own. For example, user inputs ‘held’, CPU randomly generates ‘jelly’. E cancels out. Player1 has 3 characters left (H,L,D), CPU has 4 characters left (J,L,L,Y) so CPU wins. Make your AI fair so the game is enjoyable.
-
Connect Four 2
Difficulty: Expert
There’s a 4*4 square playing area. Two players take turns putting their signs in any one of the 16 squares in the playing area. A player wins when ever there are four of his signs in a row. The row could either be horizontal, vertical or diagonal.
-
Game of Life
Difficulty: Expert
Recreate Conway’s Game of Life. This Wikipedia article should provide your with all the needed information to recreate it > https://en.wikipedia.org/wiki/Conway’s_Game_of_Life
Submitted by VicPlasma58
-
CMD RPG
Difficulty: Beginner
A role-playing game (RPG) is a game in which players assume the roles of characters in a fictional setting. Players take responsibility for acting out these roles within a narrative, either through literal acting or through a process of structured decision-making or character development. Create a command line style RPG game, which has multiple actions the user can perform, in different locations and scenarios. At the very least, the player should encounter monsters, engage in quests, buy items in a shop and save the game for later.
Submitted by MCGods
-
Dodger
Difficulty: Intermediate
Several bad guys fall from the top of the screen and move randomly around the screen(to make it more challenging, some bad guys may follow the main character trying to kill him), and the user must avoid them. The player can either be controlled with the arrow keys or more directly with the mouse. The longer the player lasts without being killed, the higher the score. For every 3 minutes, the game gets more challenging.
Submitted by V0rTeX
-
CMD Pokemon
Difficulty: Intermediate
Create a cmd based pokemon game. Its gameplay should like this:
Time to catch some pokemon!
Which pokemon have you caught? Pikachu
Would you like to keep catching pokemon [y/n]?
- Y
So far you have caught. [‘Pikachu’]
Which new pokemon have you caught? Wabufeet
Would you like to keep catching pokemon [y/n]?
- Y
So far you have caught.. [‘Pikachu’,’wabufeet’]
Would you like to keep catching pokemon [y/n]?
- N
Time to head to pokemon gym
Pokemon in your collection [‘Pikachu’,’Wabufeet’]
Pokemon in your gym team []
What pokemon will you add to your team?
- Pikachu
I choose you, Pikachu!
Pokemon(s) in your collection [‘Wabufeet’]
Pokemon(s) in your gym team [‘Pikachu’]
Do you want to train more pokemon?
- N
press Enter to exit.
For added complexity, save the game state when the user exits so that the user can resume where they left off when they quit the game.
Submitted by Amab Biswas
-
Backgammon
Difficulty: Intermediate
Create a game of backgammon that two players can play. Here is a wiki article that has the rules of the game: https://en.m.wikipedia.org/wiki/Backgammon
For added complexity, add the option to play against an AI.
Submitted by Abdulaziz Reda.
-
Horse Racing Betting
Difficulty: Intermediate
The player starts with a certain amount of money (eg. £100) and then gets to bet on horse races. Before a race, the stats and probability of each horse is shown to let the player bet a certain amount on that race. At the end of the race (after the results have been randomly generated), either add the money or notify the player of their loss. The player could win/lose when they have a certain amount of money. The game should probably have slightly better odds than what they would be in real life to allow the player to do well. For added complexity, a GUI could be created or even a live view of the horses as they race.
Submitted by Oyyee