We have been working on fully onchain game before most, since at least 2017. We have had 3 games out so far, including Tug of War in 2017, Ethernal a fully onchain  prodecural dungeon in 2019 and Conquest in 2021, running forever on Gnosis Chain, all of these are open source