jsSnake
适用于网络和终端的经典Snake游戏实现,使用纯Javascr ipt和函数式编程
规则
- Navigation with arrow keys, wasd, or hjkl
- Collect as many items as you can
- The game starts over after the crash
Snake(SNAAAAAAAAAKKKE)是Vim的Python模块,让您最大程度地使用Python来增强Vim。
这是一个使用Snake用Python编写的帮助函数的示例,当您按下c时,可以在光标下面的单词在蛇形和驼峰形之间切换:
import snake
snake . key_map ( "c" )
def toggle_snake_case_camel_case ():
""" take the word under the cursor and toggle it be