SSSNAKE(1)

๐Ÿ“ฆ version 0.4.0, in nixos 26.05, nixpkgs unstable

๐ŸŒธ NAME ๐ŸŒธ

okay so bestie, this is sssnake(1) โ€” the classic snake game on your terminal that can run in autopilot. No cap, it's giving retro main character energy. ๐Ÿโœจ

๐Ÿฉท SYNOPSIS ๐Ÿฉท

sssnake [OPTION]...

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

sssnake is literally the classic snake game, written in c, and it's capable of running on autopilot. ๐Ÿ’…

โœจ OPTIONS โœจ

  • -m MODE, โ€“mode=MODE โ€” the mode the program runs in. MODE can be:
    • normal โ€” the default mode where you control the snake ๐ŸŽฎ
    • arcade โ€” a board with specific dimensions, and the speed increases when the snake eats ๐Ÿ“
    • autopilot โ€” the game plays itself ๐Ÿค–
    • screensaver โ€” same as autopilot, but the game restarts every time the snake dies ๐Ÿ”
  • -l STYLE, โ€“look=STYLE โ€” the style for how the snake, food, walls, and junk look. STYLE can be:
    • fancy โ€” default mode ๐ŸŽ€
    • full โ€” the snake is made out of full blocks ๐Ÿงฑ
    • ascii โ€” every thing is made out of ascii characters ๐Ÿ”ค
    • dots โ€” the snake is made out of little square dots ๐Ÿ”น
  • -s NUMBER, โ€“speed=NUMBER โ€” speed of the game, from 1 to 20. (Default: 1 ). โšก
  • -x DIMENSION, โ€“maxX=DIMENSION โ€” define the width of the board (minimum value of DIMENSION is 5). A single unit is equal to two terminal columns. ๐Ÿ“
  • -y DIMENSION, โ€“maxY=DIMENSION โ€” define the height of the board (minimum value of DIMENSION is 5). A single unit is equal to one terminal row. ๐Ÿ“
  • -j NUMBER, โ€“junk=NUMBER โ€” add random blocks of junk, levels from 1 to 10. (Default: 0 ). ๐Ÿ—‘๏ธ
  • -z, โ€“score โ€” shows the size of the snake at any time. ๐Ÿ“Š
  • -t, โ€“teleport โ€” allows the snake to teleport between borders. ๐ŸŒ€
  • โ€“try-hard=NUMBER โ€” makes the snake unkillable in the autopilot/screensaver mode. For now there are two options (algorithms):
    • โ€œโ€“try-hard 1โ€ is cpu efficient, good for big boards. ๐Ÿง 
    • โ€œโ€“try-hard 2โ€ uses more cpu, it reaches the food faster and produces a cleaner board. ๐Ÿ”ฅ
  • โ€“short-path=ALGORITHM โ€” lets you set the algorithm used to find the shortest path. There are three algorithms available:
    • astar: A* using a simple heuristic, it tends to make a lot of turns (default). ๐ŸŒŸ
    • bfs: Breadth-first search, it produces straight paths. ๐Ÿ“
    • asfixed: A* with a heuristic that puts extra cost to turns, the paths produced are a middle ground between the other two algorithms. โš–๏ธ
  • -h, โ€“help โ€” print help message.. ๐Ÿ†˜

๐ŸŽฎ CONTROLS ๐ŸŽฎ

๐Ÿ•น๏ธ NORMAL/ARCADE: ๐Ÿ•น๏ธ

  • wasd, hjkl, up down left right โ€” basic directional controls. ๐Ÿงญ
  • spacebar โ€” pause game. โธ๏ธ
  • q โ€” quit game. ๐Ÿšช

๐Ÿค– AUTOPILOT/SCREENSAVER: ๐Ÿค–

  • + โ€” increases the speed of the game. โฉ
  • - โ€” decreases the speed of the game. โช
  • spacebar โ€” pause game. โธ๏ธ
  • q โ€” quit game. ๐Ÿšช

๐ŸŒˆ SCREENSAVER: ๐ŸŒˆ

  • Any key except +,- and spacebar โ€” quit game. ๐Ÿ’€

๐Ÿซถ AUTHORS ๐Ÿซถ

Written by Angel Jumbo(anarjumb@protonmail.com). ๐Ÿ’Œ

๐Ÿ› BUGS ๐Ÿ›

Submit bug reports online at: <https://github.com/AngelJumbo/issues> ๐Ÿ™ˆ


mwah ๐Ÿ’‹ bestie, that's the whole page โ€” this SSSNAKE(1) manual is Ver. 0.3.0, dated September 29, 2022. periodt. ๐Ÿ‘‘

๐Ÿ“ฆ where this page comes from