gamedev/bytemon/play

ByteMon

← Back to dev blog

Catch and battle ByteMon, creatures made of old computer hardware. You start with BitChu, a calculator that can never be lost. Eleven other kinds roam the island, from Windows OS (the worst one) to sudo (there's only one, and it has root): beat one down to a quarter of its health and catch it, or challenge another player and take theirs.

It runs on JBend, the Java backend I wrote from scratch. The Java server ticks five times a second, runs every battle, and streams the map to your browser over a WebSocket.

How to play

  • Press Play as guest to jump straight in, or click the game, type a username and password (Tab switches field) and press Register. Registered players keep their ByteMon and their position between visits; a guest's are gone when they leave.
  • Walk with the arrow keys or WASD, or click where you want to go and the server finds the way.
  • Walk into a wild ByteMon to battle it. In a battle, click a move or press its number; C catches and R runs.
  • Click a player within three tiles, then the BATTLE button over them, to challenge them.
  • The BYTEMON button, or the B key, shows what you own.
  • Press Enter to chat. Open this page in a second tab to battle yourself.
  • The red button at the top right logs you out.

How to play on a phone

  • Tap Play as guest to jump straight in. To make an account, tap the username line, type, tap Next, type a password and tap Register.
  • Tap where you want to walk. The server finds the way around water, and a yellow mark shows where you're headed.
  • Tap a wild ByteMon to walk into it and battle it, then tap your moves.
  • Tap a player near you, then the BATTLE button over them, to challenge them.
  • The BYTEMON button at the top shows what you own.
  • Tap the box under the game to chat.
  • The red button at the top right logs you out.

The rules

  • A battle is one ByteMon against another, taking turns. Each kind has its own health and four or five moves, some of which need a turn or two to recharge. Tap a ByteMon in your collection to see its moves.
  • BitChu, the calculator: ADD gives it 1 health, SUBTRACT takes 1 from the enemy, MULTIPLY doubles the number of BitChus (2, 4, then 8, and every ADD and SUBTRACT after that counts for each of them), DIVIDE cuts both healths in half, and CLEAR goes back to one BitChu.
  • Common: Floppit the floppy disk (SAVE and LOAD), Cursory the mouse (CLICK, DOUBLE CLICK, DRAG & DROP), Qwerty the key (CLACK harder each time in a row, CAPS LOCK, CTRL+Z, ALT+F4), and Windows OS, which catches a virus every time anything is done to it and then either takes damage or does something stupid.
  • Uncommon: USBee the flash drive (PLUG IN works on the third try), WiFido the router (PING hits harder with more bars), Printergeist (PRINT, unless it jams; PC LOAD LETTER).
  • Rare: Trojan Horse (a GIFT that goes off two turns later), Blockchain (MINE blocks, then a 51% ATTACK), Recursaur (RECURSE doubles each time, until the stack overflows).
  • sudo is legendary, and there's only one on the island at a time. RM -RF, KILL -9, CHMOD 000, ROOT; nothing affects it. Its one weakness: every third turn it has to type its password. When someone catches it, everyone is told.
  • Wild ByteMon: when one is down to a quarter of its health (a third, for sudo), CATCH makes it yours. It knows, and begs for mercy instead of fighting. Take it to 0 and it's deleted, and there's nothing to catch. If you lose, the ByteMon you picked is deleted. RUN gets you out half the time.
  • Other players: you each pick a ByteMon and a coin decides who moves first. The winner takes the loser's ByteMon.
  • Your BitChu can never be lost, to a wild ByteMon or to a player, so you can always play.

The game runs inside the JBend live demo, one Java process next to this site, which shares its database. The story of how it got here is in the development blog.

← Back to dev blog Source All my games