Coder Social home page Coder Social logo

mills's Introduction

This is my implementation of the game 9 men's morris/ mills/ or Mühle in German.

Currently there are two versions and the browser version is in development. One text based version in the terminal with guidance in german and a pygame version in english. You can start the terminal version by opening the program "muehlespiel.py" in the interactive mode, i.e in the terminal you will need to type

$ python3 -i muehlespiel.py

then start the main game loop with play().

The pygame version can be started by $python3 mills_pygame.py

Note that we do not need to open the interactive mode.

The structure of both versions is similar. There is a Visualization, a programm for the data structure of the board and the players and a main game loop. The AI program is identical for both. Currently it is only possible to play against a random AI.

It is now possible to play in the browser, also against the AI, but the AI just puts randomly. So far the browser version is 100% in Javascript.

mills's People

Contributors

theofbraune 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.