Thứ Năm, 2 tháng 6, 2022

Show HN: Linkians, a sims-like game that happens in your url bar with emojis https://ift.tt/7uY2xXE

Show HN: Linkians, a sims-like game that happens in your url bar with emojis Hey HN, I made https://linkians.com which is a game where all the action and state is contained in the url. There's no server, just emojis in the url and client-side logic. Any linkians url using the supported emojis is a valid game state so you can save your game, or type out your own url and send it to a friend. The game involves taking care of little pets (emojis) that live in your url bar. Kind of like tamagotchi or sims. Feed them, play with them, and watch out for enemies! In terms of the technical details: It's a static web page. It looks at the url for the initial game state, or starts you off with the default. On an interval the game loop kicks in by reading the url, producing a new game state by having one character act, and updating the url again using history.replaceState. Handling unicode has been fun (like a right-to-left bug). I'd appreciate any feedback. https://linkians.com/ June 2, 2022 at 04:47AM

Không có nhận xét nào:

Đăng nhận xét