GregoryCannon / StackRabbit

An AI for playing NES Tetris at a high level. Based primarily on search & heuristic, with high quality board evaluation through value iteration.
434 stars 45 forks source link

Error with cmodules #3

Closed AstroOrbis closed 3 years ago

AstroOrbis commented 3 years ago

When I use npm run cr, this error pops up:

make: Nothing to be done for `all'.
Making C++ module call
/Users/noahschatz/Desktop/StackRabbit/built/src/server/cmodules.js:7
    var result = cModule.length("00000000000000000000000000000000000000000000000000000000000000000011100000001110000000111100000111110000011110000011111100011101110011101110001111111000111111100111111110011111111001111111101111111110|18|2|5|0|X...|");
                         ^

TypeError: cModule.length is not a function
GregoryCannon commented 3 years ago

Should be fixed now!