Skip to content

ArmaanAS/UrbanRecreation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Urban card game recreation

This is full recreation of the mechanics of the Urban card game in node.js, with typescript, originally build in javascript.

Setup

Initialise the app with

deno install

Usage

You can create a new game and define the hands of the 2 players with

// Don't take stdin inputs
const game = Game.create(false);

game.select(0, 3, false); // Play the first (index 0) card with 3 pillz (min 0) and no fury.

game.select(1, 0); // Opponent selects second card with 0 pillz on it, (no fury by default)

game.select(0); // Opponent starts next round by playing his first card, with 0 pillz by default.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published