Giter Site home page Giter Site logo

simon-game's Introduction

SIMON-game with graphics user interface

Summary

SIMON-game for one player. Code written in python3 with graphics user interface (GUI) using Tkinter.

SIMON-game

SIMON is a game to test your memory skills.

To learn more about SIMON : https://en.wikipedia.org/wiki/Simon_(game)

simon folder content

To play the game : save all files from simon folder files into the same directory.

  • main.py : main Python 3 script
  • help_simon.py : Python 3 module
  • stat_simon.py : Python 3 module
  • rules_eng.txt : plain text document that contains the rules of the game
  • about.txt : plain text document that contains copyright and license information
  • highScore.txt: plain text document used to record the high score
  • highScore.gif : image taken from https://www.pngwing.com/en/free-png-shfbd

Tasks list

  • Implement python script
  • Add high score functionality
  • Add functionality in order to reset the current high score
  • Document code

Tkinter interface

simon_game

Interface

  • Four colored buttons
  • One button Play to launch the sequence

Gameplay

  • Click on play to launch the sequence (the first one has a length of 1).
  • The sequence is played. It highlights the buttons.
  • Reproduce the sequence.
    • If you success, the sequence length is increased of 1.
    • If you fail, the game stops.
    • If your score is higher than the current high score, a window will open to ask you to enter your name.

High score

The current high score is saved in a text document (player name and score). It can be displayed from the menu Scores.

simon_game_high_score

Help

From the GUI you can read How to play? as well as copyright and license information.

simon-game's People

Contributors

e-vdb avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.