Logo
Explore Help
Sign In
gaspersic/learngo
1
0
Fork 0
You've already forked learngo
Code Issues Pull Requests Projects Releases Wiki Activity
Files
eb8f9987a833947f01fd6d35c87728f1906bc2ba
learngo/x-tba/tictactoe/10-arrays/init.go

9 lines
135 B
Go
Raw Normal View History

add: new tictactoe game add: testing to tictactoe rename: tictactoe add: tictactoe steps refactor: tictactoe const names refactor: tictactoe loop add: tictactoe bad switch example (fallthrough) refactor: tictactoe loop skin remove: tictactoe changable skin refactor: tictactoe all remove: tictactoe unnecessary base dir add: tictactoe slices add: tictactoe slices remove: tictactoe fallthrough rename: tictactoe slices 10 -> 09 update: loops skin tictactoe add: tictactoe randomization add: tictactoe infinite loop and labeled break refactor: tictactoe rand and infinite loop add: tictactoe buggy winning algo add: tictactoe more tests rename: tictactoe wrongPlay to wrongMove add: tictactoe even more tests fix: tictactoe rename: tictactoe waitForInput to wait add: tictactoe os.args gameSpeed remove: tictactoe unnecessary files rename: tictactoe game messages refactor: tictactoe main loop add: types and arrays
2019-07-27 18:16:17 +03:00
package main
// initCells initialize the played cells to empty
func initCells() {
for i := range cells {
cells[i] = emptyCell
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.3 Page: 32ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API