Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

Initialize it with 4 , Load 1,2,3,4 into each slot, shuffle deck. Have another variable(let’s call it x) increment x by one, z= read index x, switch on z to decide which even to do,increment x again  x = read index x (now the second in deck) , check switch again