Git Product home page Git Product logo

connect-4's Introduction

Terminal-Powered Connect-4 Game

Game Combinations Current Supported:

  1. Human vs Human
  2. Human vs AI
  3. AI vs AI
  4. Human vs Human (Over the network)
Command Line Additional Options
  1. Human vs Human: no options
  2. Human vs AI: 1 option (ai=[level])
  3. AI vs AI: 2 options (ai=[level] ai=[level])
  4. Human vs Human (network): 1 required option (net[=timeout])

Notes:
  1. Currently available AI levels are: [random, easy, medium, hard]
  2. The timeout value for network games is optional, default set to 60 seconds

connect-4's People

Contributors

mfrandev avatar

Watchers

 avatar

connect-4's Issues

Need a Docker image

Issue: Need to create a docker image to run the program from (and subsequently .jar files)

Heuristic Improvement

The current heuristic is not great and can be significantly improved. Find and implement a better static evaluation function

Sequence length should propagate down the series of pieces

There is a specific pattern of piece placement where a given piece may not accurately detect the correct number of pieces to its left or right, if they were not placed in column order. Thus, accurate sequence lengths must updated for all pieces within the sequence. This causes win condition recognition to fail

Issue: Basic AI column selection

After playing out 3 whole games, of AI vs AI, the basic AI didn't seem to ever select column 7 as a viable option. This should be looked into

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.