pysokoban/maps.py

64 lines
1.6 KiB
Python

level_1_par = 8
level_1 = '''
#############
# #
#@ 0 . #
# #
#############
'''
level_2_par = 18
level_2 = '''
#############
#. #
#@ 00 . #
# #
#############
'''
level_3_par = 27
level_3 = '''
#############
# #######
#@ 00 . #
# . #
###################
'''
levels = [
(level_1, level_1_par),
(level_2, level_2_par),
(level_3, level_3_par),
]
logo = '''
█▀█ █▄█ █▀ █▀█ █▄▀ █▀█ █▄▄ ▄▀█ █▄░█
█▀▀ ░█░ ▄█ █▄█ █░█ █▄█ █▄█ █▀█ █░▀█
'''
lose = '''
█▄█ █▀█ █░█   █░░ █▀█ █▀ █▀▀
░█░ █▄█ █▄█   █▄▄ █▄█ ▄█ ██▄
'''
win = '''
█▄█ █▀█ █░█   █░█░█ █ █▄░█
░█░ █▄█ █▄█   ▀▄▀▄▀ █ █░▀█
'''
help = r'''
Welcome to PYSOKOBAN!
The object of the game is to move all of the boulders to specific storage
positions in the shortest amount of moves possible.
KEY MOVEMENT
+===========================================+
|_symbol_|_meaning_|| y k u | 7 8 9 |
| @ | you || \ | / | \ | / |
| # | wall || h- . -l | 4- . -6 |
| 0 | boulder || / | \ | / | \ |
| . | storage || b j n | 1 2 3 |
+===========================================+
If you like my stuff visit my website: https://domdit.com
'''