Python Game Coding Challenges

Introduction

Introduction

Coding your own games is a great start when learning how to program. Here is a list of games in difficulty order so you can pick a few projects have a go at coding.

Game List

  1. Rock Paper Scissors
  2. High Lower Game
  3. Reaction Time
  4. Multiple Choice
  5. Copy Me
  6. Hangman
  7. Pontoon
  8. Minesweeper
  9. Connect 4
  10. Battleships
  11. Text Adventure
  12. Escape the maze
  13. Solitaire

 

 

1

RPS Game

 

 

 

 

 

 

 

2

Higher / Lower

 

 

 

 

 

3

Reaction Timer

The game should display a wait message, then wait a random time and then say ‘go’ and the user should press enter as quickly as possible. The game should display the reaction time taken.

Extension Challenges

  • Easy – The game should give the user 3 goes and calculate the average time
  • Medium – The game should save the user’s score to a text/csv file
  • Hard – The game should have a start screen where you have the option to choose start game or display high scores

 

 

 

4

Multiple choice quiz

 

 

 

 

 

5

Copy Me

The objective of this challenge is to create a game where you need to copy a random sequence of letters displayed on the screen.

Bronze

  The game starts by displaying one letter for one second.

  The letter disappears and then the user has to type out the letter.

  If the user gets the sequence correct another letter is added to the sequence.

  This repeats until the user gets the sequence wrong.

Silver

  At the end of the game the user’s name and score are saved to a high score list

Gold

   Add a start menu and an option to display past high scores.

 

 

 

 

6

8

Pontoon

 

 

 

 

 

9

Minesweeper

 

 

 

 

 

10

Connect 4

 

 

 

 

11

Battleships

 

 

 

 

12

Text Adventure

 

 

 

 

13

Escape the maze game

 

 

 

 

14

Solitaire