Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kde/katomic
Katomic is a fun and educational game built around molecular geometry
https://github.com/kde/katomic
Last synced: 4 days ago
JSON representation
Katomic is a fun and educational game built around molecular geometry
- Host: GitHub
- URL: https://github.com/kde/katomic
- Owner: KDE
- Created: 2015-09-18T14:54:35.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-11-07T03:04:34.000Z (8 days ago)
- Last Synced: 2024-11-07T04:18:07.051Z (8 days ago)
- Language: C++
- Homepage: https://invent.kde.org/games/katomic
- Size: 7.51 MB
- Stars: 13
- Watchers: 2
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.levels
- License: LICENSES/BSD-3-Clause.txt
Awesome Lists containing this project
README
Levels are stored in level sets. Level set has a simple ini-file format which includes:
1. Header
[LevelSet]
Name=KAtomic levels
Description=This is the additional collection of KAtomic levels.
Author=Mr. Foo Bar
[email protected]
LevelCount=27Fields Name and LevelCount are required
2. Levels description
Each level described by a separate ini-file group entry named [LevelNNN] where NNN is level number, for example:
[Level1]
Name=Water
atom_1=1-c
atom_2=3-cg
atom_3=1-g
feld_00=...............
feld_01=...............
feld_02=...............
feld_03=..###########..
feld_04=..#..#......#..
feld_05=..#.3#......#..
feld_06=..#.##......#..
feld_07=..#.#..#.####..
feld_08=..#....#.2..#..
feld_09=..###.#.....#..
feld_10=..#1....#...#..
feld_11=..###########..
feld_12=...............
feld_13=...............
feld_14=...............
mole_0=123Explanation of level description format:
(could be improved, currently please read levels/default_levels.dat for examples)atom_1=2-bdD
Here's how to decode that.
Atoms are the chars that go before dash,
Bonds are the chars that go after dash.Atoms:
1=H
2=C
3=O
4=N
5=S
6=F
7=Cl
8=Br
9=P
0=J
o=Crystal
E,F,G,H,I,J,K,L - flasks with ranging fullness, E - being an empty flask, L - full flask.
A=horizontal connector
B=slash-like connector
C=vertical connector
D=backslash-like connectorBonds:
a=single top
b=single top-right
c=single right
d=single bot-right
e=single bottom
f=single bot-left
g=single left
h=single top-left
A=double top
B=double right
C=double bottom
D=double left
E=triple top
F=triple right
G=triple bottom
H=triple left