Giter Club home page Giter Club logo

projet's People

Contributors

docskellington avatar tibauww avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

projet's Issues

Be sure to have a way

We should make a function to check if there is a path without taking count of the other players (to be sure that there is a way in some precise cases).

HardAI

The HardAI must decide cleverly whether it moves or sets a wall.

Save bug

Under Ubuntu 12.04, saving fails : instead of creating a file under Save, it creates a file "Save\name.sav"

Replay

Once the game is finished, we may want to rewind the game to see each move/wall with Pause/Play/Stop/Next buttons.

Statistics

The statistics mode must work as following :

  • Asking which AIs must play (and how many)
  • Asking how many tries
  • Calculating this tries (and remember the winners)
  • Showing stats

Colored walls

Walls are the same color as the player who set them ((de)activable option ?)

Tests

We should make tests for the following elements :

  • PathFinder
  • Moves (for particular situations)
  • Walls
  • HardAI (with a precise board)
  • More ?

Shift wall

There are 2 rows/columns that don't work.

New AI

Create a new AI between Random and Shiller: The AI goes straight for its goal, doesn't try to set walls. not very interesting in 2 players mode, but can be in 3-4 players mode.

Authors

We should use two "author" tags instead of one (with a & between our names). So, it should look like :
/** Blabla

FindPath

2 improvements :

  • Get the shortest path
  • Make sure there isn't anyone in the path (to avoid trouble)... But still needs to consider other players to jump!

Save files

Save files should contain all decisions (moves and walls) for each player.

Skip button

If there isn't any available move, allows the player to skip their turn.

Texture modifier

Allow the user to choose the textures (of the walls, cases, etc).

Have default available textures + allow for custom textures

Destroy a wall

A player may want to destroy a wall. This makes them skip their next turn.

How to implement :

  • For IA: board.getCost can return 2 if the player wants to destroy the wall (1 otherwise)
  • For Human: add a button
  • For all: remember how many turns to skip

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.