Advertisement
Guest User

Untitled

a guest
Nov 12th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. package main
  2.  
  3. import (
  4. "fmt"
  5. "log"
  6. )
  7.  
  8. type shapes int
  9.  
  10. const (
  11. leftL shapes = 0
  12. rightL shapes = 1
  13. T shapes = 2
  14. line shapes = 3
  15. leftZ shapes = 4
  16. rightZ shapes = 5
  17. )
  18.  
  19. type coordinate [2]int
  20.  
  21. type piece struct {
  22. shape shapes
  23. location []coordinate
  24. }
  25.  
  26. type board [28][10]bool
  27.  
  28. type game struct {
  29. b board
  30. }
  31.  
  32. func main() {
  33. fmt.Println("vim-go")
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement