I think my snap (of my roguelike role playing game) is now working, but I keep it in development confinement until I can confirm it is really working.
It is available for testing here:
Install it with
sudo snap install --devmode lambdarogue --beta
If all is working well, you should be able to start the game either by clicking its icon or by entering “lambdarogue” in a terminal. When the game starts, you should see a window with a title screen and hear some music. (Additionally, a terminal window will open – that’s because the game can also be played in console mode on a 80x25 terminal, if set in the options).
To test if config and save games are created correctly, please try the following:
Start a new game by pressing 1, enter a name, select coffeebreak mode, let the game give you a random character. You should see the main view then.
Press ESC to go to the menu, then quit.
Start the game again, press 1 again - you should see the name of your previously created character there. Select it by pressing “a”. If it loads correctly, the snap is working.
I have checked some other gaming snaps how their yaml file is configured. I then have added “libasound2” to the stage packages. Let’s see if this does the trick…
The “real agenda” is to get more exposure of my game using the snap store. And according to the snapcraft website, this is one reason why one should use snaps. At least that is how snapcraft is advertising for using snaps. I apologize if links to other sites are unwanted.
However, if an error message occurs where it is unclear if it is caused by the binary itself, or by my snap, I of course want to check this, and the easiest way for that is to link to the place where one can get the non-snap version.