Giter Club home page Giter Club logo

flask-mastermind's Introduction

Flask Mastermind

Simple Mastermind-like game built in Flask

Contributors

name id
Niels van Hal 2159178
Bart Scholtus 2150146

System requirements

  • Python 3
  • Flask (pip install flask)

Running the application

# Clone this repo
git clone https://github.com/matsn0w/flask-mastermind.git

# Start the web server
python -m flask run

flask-mastermind's People

Contributors

matsn0w avatar ntjhal avatar

Watchers

 avatar  avatar

flask-mastermind's Issues

TODO

  • check when finished / won
  • save the game after finish
  • implement double colors correctly (bug: 1x red > 2x white)
  • remember last turn (select)
  • test, test, test

Requirements

  • De Mastermind app is geschreven in Python.
  • De app draait (lokaal) als Flask web app.
  • De user interface is html/css en maakt gebruik van Jinja2 templates.
  • Het onderliggende datamodel is object-georiënteerd; je maakt dus gebruik van Python classes.
  • Je houdt bij voor elke speler:
    • Wat diens (nick)name is;
    • Wanneer hij/zij speelde, en dus ook hoe vaak;
    • In hoeveel beurten het antwoord werd geraden (of werd er gecheat?)
  • Deze statistieken mag je naar keuze in een file of database opslaan.
  • Er is een pagina waar de statistieken getoond worden.
  • De speler kan kiezen of dubbele kleuren zijn toegestaan.
  • De speler kan kiezen met hoeveel kleuren wordt gespeeld, bijvoorbeeld tussen 6 en 10 kleuren.
  • De speler kan kiezen met hoeveel posities er wordt gespeeld, bijvoorbeeld tussen 4 en 10 posities.

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.