Git Product home page Git Product logo

joshuajee / whot Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 3.52 MB

This project is aimed at playing the game of Whot with agents powered by Renforcement learning, the Agents improve on interacting with other agents an users

Home Page: https://whot-app.herokuapp.com/

License: MIT License

JavaScript 96.14% HTML 0.93% CSS 2.89% Shell 0.03%
whot card game casual reinforcement-learning ai artificial-intelligence

whot's Introduction

WHOT

This project is aimed at playing the game of Whot, with agents powered by Reinforcement learning, the whot game is a card game, between two or more players the goal of the game is to eliminate the number of cards in the hands of the players the game has variable rule but the goal is that the first person to have no card at hand wins the game or at the end of the game the person with the highest number of cards at hand loses the game, the number of cards is counted by summing the numbers in each card but stars are multiplied by two

Desktop View alt text

Mobile View alt text

Desktop View alt text

Rules

I have made the game in such a way that the rules are flexible to and cand the turned on and off

hold On

if this value is true any card with the a number 1, put the next player on hold for one round

pick Two

if this value is true any card with the a number 2, makes the next player to pick two cards from the market and put him or her on hold

pick Three

if this value is true any card with the a number 5, makes the next player to pick three cards from the market and put him or her on hold

suspension

if this value is true any card with the a number 8, put the next player on suspension for one round

general Market

if this value is true any card with the a number 14, all the next player to pick one card sequencially from the market and put all players on hold

need

if this value is true any card with the a number 20, gives the player the ability to request any card shape of his choice this card can be played on any card

Agents

The agent learns from its interations with other agents and users that play against it this improve the angents experience

config

goto the Config forder create a file dev.js under the forder and insert the code below into the file dev.js

module.exports = {
    DataBaseURI: "your mongodb uri",
}

whot's People

Contributors

joshuajee avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

satya4satyanm

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.