Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

ratsino (rat casino)

physics based rat gambling simulator · By underscoreleah

How many rats to Win?

A topic by IIIMADDINIII created 21 days ago Views: 90
Viewing posts 1 to 2
(1 edit) (+1)

With like 1300 rats i only get a frame every few minutes.

Accomplished by setting a log point just before the random function in the Webassembly with a call to the following function which initializes the random function to always return 99 for a jackpot:

function load() {
  const m = new Int32Array(memories.$memory.buffer);
  const p1 = m[3443808/4]/4;
  m[p1+0] = -1354034512;
  m[p1+1] = -1567105399;
  m[p1+2] = 1555813293;
  m[p1+3] = -711686666;
}