Logo
Explore Help
Sign In
go
/
curse-you-go-rogue
1
0
Fork
You've already forked curse-you-go-rogue
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity
A Go version of the https://lcthw.dev/learn-code-the-hard-way/curseyou-python-rogue that makes a tiny Rogue in Go.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 Commits
1 Branch
0 Tags
845 KiB
Tag: Branch: Tree: master
master
Branches Tags
${ item.name }
Create tag ${ searchTerm }
Create branch ${ searchTerm }
from 'master'
${ noResults }
curse-you-go-rogue/02_mazes_and_enemies/main.go

20 lines
251 B
Raw Permalink Normal View History Unescape Escape

Now have the rogue carved up into a progression.
3 days ago
package main
func main() {
Next phase worked out, but had to move some stuff around in the final result as well.
3 days ago
DebugInit()
Now have the rogue carved up into a progression.
3 days ago
Go has problems with mv and paths so had to fix that, and also remove some things from previous steps.
3 days ago
game := NewGame(17, 11)
Now have the rogue carved up into a progression.
3 days ago
game.InitScreen()
Next phase worked out, but had to move some stuff around in the final result as well.
3 days ago
game.NewMap()
dead_ends := game.NewMaze()
Now have the rogue carved up into a progression.
3 days ago
game.PlaceEnemies(dead_ends)
game.Render()
Go has problems with mv and paths so had to fix that, and also remove some things from previous steps.
3 days ago
for game.HandleEvents() {
Now have the rogue carved up into a progression.
3 days ago
game.Render()
}
game.Exit()
}
Powered by Gitea Version: 1.17.3 Page: 51ms Template : 3ms
English
Bahasa Indonesia Deutsch English Español Français Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Српски Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API Website