Skip to content

Tsirimaholy/BattleDev2020

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cheating in pogemon card game

The rules

Card1 Card2 Winner card
Feu Eau Eau
Feu Plante Feu
Feu Glace Feu
Eau Plante Plante
Eau Sol Sol
Plante Poison Plante
Plante Sol Sol
Plante Vol Plante

Visit this link for more info about this game The Level 4

Implementing this game was pretty handy but cool.

Test

requirements

  • mocha
  • chai
npm i -D mocha
npm i -D chai
npx mocha

⚠️Notice: Notice that i'm using ES6 modules(not commonjs) across all my code, but you can change it at your own risk😉🤞

Some help are Welcome

That's said, I need help to fix some issues and maybe enhance this game

  1. Performance issues

    The runtime complexity of this game is horrible

    • his is probably caused by the permutation generator function
  2. Build a friendly User interface

    At this state only programmer, or some user can use this game As on of my friends said when he saw me using the terminal to run some command: " You're a Hacker ?? "