Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import (
- "fmt"
- "log"
- )
- type shapes int
- const (
- leftL shapes = 0
- rightL shapes = 1
- T shapes = 2
- line shapes = 3
- leftZ shapes = 4
- rightZ shapes = 5
- )
- type coordinate [2]int
- type piece struct {
- shape shapes
- location []coordinate
- }
- type board [28][10]bool
- type game struct {
- b board
- }
- func main() {
- fmt.Println("vim-go")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement