Files
Grinch-AP/worlds/apsudoku/__init__.py

35 lines
910 B
Python
Raw Normal View History

from typing import Dict
from BaseClasses import Tutorial
from ..AutoWorld import WebWorld, World
class AP_SudokuWebWorld(WebWorld):
options_page = False
theme = 'partyTime'
Worlds Docs: Translations German (Clique, BK Sudoku, OoT) (#2581) * Sudoku German * German OOT (+ Room Image) * German Clique * german translation * translation flexibility - ff1 * german setup - oot * Transaltion Flexibilty - SM64 * translation flexibilty - factorio * translation flexibilty - kh2 * translation flexibility - Super Metroid * translation flexibility - Stardew Valley * german translation added - clique * translation flexibility - terraria * translation flexibilty - checksfinder * Sudoku Setup - Grammar Fix * Sudoku Main - Fix Grammar * Revert "translation flexibility - ff1" This reverts commit 6df434c682ef31dbedb88a90137bdc5103b12062. * Revert "Transaltion Flexibilty - SM64" This reverts commit 754bf95d2f9fa75bb5681bb2f6ad37faf1393b14. * Revert "translation flexibilty - factorio" This reverts commit db1226a9dec901e3a5f107ffa53612fe5cf001f0. * Revert "translation flexibility - Super Metroid" This reverts commit ca5bd9a64aa81b70bfb7e35b4e4bd137d93b4f90. * Revert "translation flexibilty - kh2" This reverts commit 076534ee32573f61c64861e2d2f940da95696272. * Revert "translation flexibility - Stardew Valley" This reverts commit 4b137013942262f63e1fbafae6248883b7956f51. * Revert "translation flexibility - terraria" This reverts commit a0abfc8a038d0519dfc55af6155aa62a74399def. * Revert "translation flexibilty - checksfinder" This reverts commit a4de49961d799e0301694b1629d8942780f4a325. * Sugesstion - Fixes in Grammar (and Typos) One or two suggesstions need to be changed a bit further (such as an incomplete sentence) Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com> * Update guide_de.md * Update setup_de.md * Update de_Sudoku.md * Update __init__.py * Update worlds/oot/docs/setup_de.md Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com> --------- Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com>
2024-01-16 06:54:48 +01:00
setup_en = Tutorial(
tutorial_name='Setup Guide',
description='A guide to playing APSudoku',
Worlds Docs: Translations German (Clique, BK Sudoku, OoT) (#2581) * Sudoku German * German OOT (+ Room Image) * German Clique * german translation * translation flexibility - ff1 * german setup - oot * Transaltion Flexibilty - SM64 * translation flexibilty - factorio * translation flexibilty - kh2 * translation flexibility - Super Metroid * translation flexibility - Stardew Valley * german translation added - clique * translation flexibility - terraria * translation flexibilty - checksfinder * Sudoku Setup - Grammar Fix * Sudoku Main - Fix Grammar * Revert "translation flexibility - ff1" This reverts commit 6df434c682ef31dbedb88a90137bdc5103b12062. * Revert "Transaltion Flexibilty - SM64" This reverts commit 754bf95d2f9fa75bb5681bb2f6ad37faf1393b14. * Revert "translation flexibilty - factorio" This reverts commit db1226a9dec901e3a5f107ffa53612fe5cf001f0. * Revert "translation flexibility - Super Metroid" This reverts commit ca5bd9a64aa81b70bfb7e35b4e4bd137d93b4f90. * Revert "translation flexibilty - kh2" This reverts commit 076534ee32573f61c64861e2d2f940da95696272. * Revert "translation flexibility - Stardew Valley" This reverts commit 4b137013942262f63e1fbafae6248883b7956f51. * Revert "translation flexibility - terraria" This reverts commit a0abfc8a038d0519dfc55af6155aa62a74399def. * Revert "translation flexibilty - checksfinder" This reverts commit a4de49961d799e0301694b1629d8942780f4a325. * Sugesstion - Fixes in Grammar (and Typos) One or two suggesstions need to be changed a bit further (such as an incomplete sentence) Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com> * Update guide_de.md * Update setup_de.md * Update de_Sudoku.md * Update __init__.py * Update worlds/oot/docs/setup_de.md Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com> --------- Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com>
2024-01-16 06:54:48 +01:00
language='English',
file_name='setup_en.md',
link='setup/en',
authors=['EmilyV']
Worlds Docs: Translations German (Clique, BK Sudoku, OoT) (#2581) * Sudoku German * German OOT (+ Room Image) * German Clique * german translation * translation flexibility - ff1 * german setup - oot * Transaltion Flexibilty - SM64 * translation flexibilty - factorio * translation flexibilty - kh2 * translation flexibility - Super Metroid * translation flexibility - Stardew Valley * german translation added - clique * translation flexibility - terraria * translation flexibilty - checksfinder * Sudoku Setup - Grammar Fix * Sudoku Main - Fix Grammar * Revert "translation flexibility - ff1" This reverts commit 6df434c682ef31dbedb88a90137bdc5103b12062. * Revert "Transaltion Flexibilty - SM64" This reverts commit 754bf95d2f9fa75bb5681bb2f6ad37faf1393b14. * Revert "translation flexibilty - factorio" This reverts commit db1226a9dec901e3a5f107ffa53612fe5cf001f0. * Revert "translation flexibility - Super Metroid" This reverts commit ca5bd9a64aa81b70bfb7e35b4e4bd137d93b4f90. * Revert "translation flexibilty - kh2" This reverts commit 076534ee32573f61c64861e2d2f940da95696272. * Revert "translation flexibility - Stardew Valley" This reverts commit 4b137013942262f63e1fbafae6248883b7956f51. * Revert "translation flexibility - terraria" This reverts commit a0abfc8a038d0519dfc55af6155aa62a74399def. * Revert "translation flexibilty - checksfinder" This reverts commit a4de49961d799e0301694b1629d8942780f4a325. * Sugesstion - Fixes in Grammar (and Typos) One or two suggesstions need to be changed a bit further (such as an incomplete sentence) Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com> * Update guide_de.md * Update setup_de.md * Update de_Sudoku.md * Update __init__.py * Update worlds/oot/docs/setup_de.md Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com> --------- Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com>
2024-01-16 06:54:48 +01:00
)
tutorials = [setup_en]
class AP_SudokuWorld(World):
"""
Play a little Sudoku while you're in BK mode to maybe get some useful hints
"""
game = "Sudoku"
web = AP_SudokuWebWorld()
item_name_to_id: Dict[str, int] = {}
location_name_to_id: Dict[str, int] = {}
@classmethod
def stage_assert_generate(cls, multiworld):
raise Exception("APSudoku cannot be used for generating worlds, the client can instead connect to any slot from any world")