RAWIG
RAWIG copied to clipboard
RAWIG (Roguelike Architecture, Written In Go) is ready to modify and expand roguelike architecture.
While I like working with BearLibTerminal, Ebiten has some meaningful advantages: - is actively maintained - supports features that are impleneted in hacked way currently (like animations) - does not...
E.g. almost all commets in err.go file. /* Function CharsColorsLengthError is helper function that return string to error; it takes string slices as arguments and return string. */ But why?...
I don't see key to switch between weapon 1 and 2, nor anything like that...
Normal speed – 1 action per turn Slow – 1 action per two turns? Skipping every third turn? Fast – 2 actions per turn? Additional action every third turn?
Add bool "consumable" and "charges" maybe? Then checks for their values, and if consumable is true then charges-- and if charge == 0 then removes from inventory.
For example, use utf8.RuneCountInString instead of len. Use []rune("NewString")[1] instead of "NewString"[1]. For now, using only basic ASCII characters will suffice.
"Equipment" should have fixed size - like "primary, secondary, melee". Three slots. "Inventory" should have fixed size as well - like 10 slots. Or 10 slots - len(equipment). It would...