Play snake right on your favourite text editor, neovim!
This plugin use fscreen.nvim to create window and drawing stuff on the screen
Lazy:
{
"Febri-i/snake.nvim",
dependencies = {
"Febri-i/fscreen.nvim"
},
opts = {}
}Run :SnakeStart to start the game and :q to quit
Dont like what you see on the screen? you can change the highlighting by setting up your own color via custom_highlight
require("snake").setup(
{
custom_higlitght = {
text = "guibg=#FFFFFF guifg=#000000",
background = "guibg=#000000",
food1 = "guibg=#0000FF",
food2 = "guibg=#FFFF00",
food3 = "guibg=#ff00FF",
body = "guibg=#77FF00",
head = "guibg=#e3bb22"
}
}
)use h j k l to turn around and p to pause!
