server  
  end of page  
<previous .current:00cover >next  

samegame

<previous .current:samegame >next  

samegame

2.0


samegame_samegame.20201015024203.png

samegame is a simple linux puzzle game.

* vectors gfx, scales on any screens
* 65535 boards
* also playable with keyboard
* each board highscore is kept
* gfx as flat as the screen
* no sounds, no animations

made with C99 opengl glfw3.

samegame-2.0_amd64.deb (50k)
samegame-2.0_i386.deb (50k)
<previous .current:game_samegame >next  

game

samegame_game_samegame.samegame.20201015024203.png

on a running game screen, while hovering the board, below the board are numbers:
left value: board number
middle value: score
right value: selection score

with the pointer outside the window, or on top of the info line,
left value: board number
middle value: high score
right value: high score - with cleared board



samegame is a puzzle game.
goal is to clear the board.
spots having the same colors can be cleared if there are at least two adjacent spots of the same colour.
Next a spot is cleared, those above will be moved down to fill the space.
If a column is cleared, any columns right of it are shifted to the left.
Selection score is calculated as (s-2)^2.
+1000 score if clearing the board.

<previous .current:samegame_cli >next  

cli options

samegame [--board int][--same|--next|--any] [--posx int][--posy int][--width int][--height int][--fullscreen|-f] [--help][--version][-v]
--board board number

board done mode:
if a board is done, next board will be:
--same same board
--next next board
--any any board

--posx window position x.
--posy window position y.
--width window width.
--height window height.
--fullscreen full screen.
-f full screen.

--help help
--version
-v print infos in terminal

<previous .current:samegame_igo >next  

ingame options

ESC: exit
F1, H: help as cli printout
RETURN: samegame
R: anygame
PAGE_UP, PAGE_DOWN: change board
W, A, S, D: move cursor
LMB, RSHIFT, SPACEBAR: click
F11, F: fullscreen
M: change next board mode
PRINTSCREEN, P: dump board in terminal
V: prints infos in terminal while running

<previous .current:requirements >next  

requirements

PC compatible machine
linux operating systems or compatible
libc6
opengl >= 2.1
libglfw3
exe is ~65kb
installed package size is ~200kb
each user data, highscores and boards, can reach up to ~35Mb

<previous .current:install >next  

install

on debian bullseye and earlier, install dependencies with
apt install libc6 libgles1-mesa libglfw3
on debian trixie , install dependencies with
apt install libc6 libgles1 libglfw3
install package with
dpkg -i samegame-2.0_amd64.deb

<previous .current:files >next  

files

samegame is storing some states in a few files in /home/$USER/.config/samegame/

setting values with command line options is bypassing those files.
samegame can run without those files, if filesystem cannot be written, yet high-score will be lost as soon as changing board.

if wanting high-scores being kept, it could matter adjusting the directory being written.
chmod 0775 ~/.config/samegame chown $USER:$USER ~/.config/samegame

<previous .current:changelog >next  

changelog

samegame


samegame 2.0
20251021
==============
* display high scores while hovering infoline, or outside window
* display ongoing game scores while hovering board
* change next board mode while ingame with key M
* changed game internal logics
* new highscores file structure,
* clicks saved along with highscore
* verify high scores while loading them
* verify game init, so guarantee it's the same game
* cleaned up cli printouts,
* list possible selections clusters while printing board
* list clicks made while printing board


samegame 1.13
20250927
==============
* better recwin
* build system compatible with other arch


samegame 1.12
20250921
==============
* added taskbar handling
* fewer cpu use
* really few or no cpu while in taskbar
* -v cli option
* small fixes
* improved webpage

samegame 1.11
2021
==============
* added gfx smoothing
* last board score +highscore fixed
* distinct game and window states keeping files
* --fullscreen or -f cli option

samegame 1.07
20201011
==============
* fixes

samegame 1.06
20190220
==============
* added icons
* next / any /same board mode
* keep if fullscreen while keeping window pos&size
* 2 highscores, also cleared highscore saved
* fixes

samegame 1.05
20190130
==============
* random boards with R
* window size & position kept
* fixes

samegame 1.03
20190101
==============
* more boards, now 65535
* if board cleared kept along with highscores
* fixes

samegame 1.02
20181212
==============
* highscores kept
* fixes

samegame 1.01
2018
==============
* initial version

<previous .current:credits >next  

credits

rno/noospot 2018-2025


  support ukraine


noospot
 cbmfont
 debian
 glorec

 samegame

 streetcleaner
 gardening
 vegs temps
 contact



 
  top of page