No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-10-31 11:09:59 -05:00
golurk fix: oob panic during action sorting 2025-10-15 00:06:47 -05:00
poketerm feat: add extra note about TAB when editing a team 2025-10-27 13:00:55 -05:00
scripts fix(scripts): generation flag should now work for ability script 2025-08-31 00:28:11 -05:00
.gitignore test: add coverage output 2025-06-30 00:22:07 -05:00
.goreleaser.yaml build: update goreleaser config main 2025-09-16 23:43:36 -05:00
go.work refactor(scripts): move all scripts into a single bin package 2025-08-29 02:39:30 -05:00
go.work.sum build: add scripts dependencies 2025-08-30 23:59:41 -05:00
LICENSE docs: add license 2025-09-16 23:33:35 -05:00
README.md docs: remove double battle mention 2025-10-31 11:09:59 -05:00
test.sh fix: most dependency changes should be correct in both modules 2025-08-02 20:28:11 -05:00

The Gokemon Logo: a pokeball stylized like the Golang Gopher

Gokemon

Gokemon is a CLI Pokemon battle simulator written in Go. Gokemon attempts to be a fairly accurate, if feature-lacking, simulation of Pokemon singles battles. Singleplayer against an AI and LAN multiplayer modes are available. All mechanics and Pokemon are based off of their latest appearances (as of 2024).

Warning

This project is still very much under construction! Gokemon currently contains the Pokemon data of Gen 1 - 3 Pokemon and ~99% of abilities introduced in Gen 3. While move data up to Gen 9 is included, most moves' secondary effects are not implemented If there are any features you wish to see added, feel free to open an issue or pull request.

A view of the battle screen. Waiting for the player to select an action.

Installation

The easiest way to install is to download the latest pre-compiled binary executable for your system from the releases tab.

Note

Windows may or may not flag this as a virus / malware so Windows Antivirus may have to be disabled during installation and explicitly allowed. Building / Running from source should avoid this issue. If you know why this happens and how to fix it do feel free to open an issue.

Building from source

The other way is to build / run the code directly on your computer using Go.

First you must install Go. Follow your platform-specific installation instructions.

Next clone the repo into a folder of your chosing:

git clone https://github.com/nathanieltooley/gokemon.git

Inside the cloned repo you can build Gokemon using the following command:

go build -o gokemon ./poketerm

And then execute:

./poketerm

or run the game without building an executable:

go run ./poketerm