Skip to content

lucassperez/blackjack.nvim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blackjack.nvim

Blackjack.nvim is a neovim plugin that implements a classic BlackJack game in neovim.

Using the "mini" style of cards:

Screen.Recording.2023-02-25.at.21.38.05.mov

Using the "large" style of cards:

new_long.mov

Requirements

Installation

Using Packer

use {
  'alanfortlink/blackjack.nvim',
  requires = {'nvim-lua/plenary.nvim'},
}

Using vim-plug

Plug 'nvim-lua/plenary.nvim'
Plug 'alanfortlink/blackjack.nvim'

Setup

require("blackjack").setup({
  card_style = "mini", -- Can be "mini" or "large"
})

Usage

To start a new game:

:BlackJackNewGame

To quit the game you can press q or:

:BlackJackQuit

To reset the scores:

:BlackJackResetScores

Press j and k to play the game and q to quit.

About

Classic Black Jack game in Neovim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%