Skip to content

Commit 6791e29

Browse files
committed
APSudoku: Remove 'World', use new standalone WebWorld on HintGame page
1 parent b9ba062 commit 6791e29

File tree

3 files changed

+11
-17
lines changed

3 files changed

+11
-17
lines changed

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@
7171
"Ocarina of Time",
7272
"Overcooked! 2",
7373
"Raft",
74-
"Sudoku",
7574
"Super Mario 64",
7675
"VVVVVV",
7776
"Wargroove",

worlds/apsudoku/__init__.py

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
from typing import Dict
22

33
from BaseClasses import Tutorial
4-
from ..AutoWorld import WebWorld, World
4+
from worlds.AutoWorld import WebWorld, WorldType
5+
56

67
class AP_SudokuWebWorld(WebWorld):
8+
"""
9+
Play a little Sudoku while you're in BK mode to maybe get some useful hints
10+
"""
11+
game = 'Sudoku'
12+
world_type = WorldType.HINT_GAME
713
options_page = False
814
theme = 'partyTime'
915

@@ -17,18 +23,3 @@ class AP_SudokuWebWorld(WebWorld):
1723
)
1824

1925
tutorials = [setup_en]
20-
21-
class AP_SudokuWorld(World):
22-
"""
23-
Play a little Sudoku while you're in BK mode to maybe get some useful hints
24-
"""
25-
game = "Sudoku"
26-
web = AP_SudokuWebWorld()
27-
28-
item_name_to_id: Dict[str, int] = {}
29-
location_name_to_id: Dict[str, int] = {}
30-
31-
@classmethod
32-
def stage_assert_generate(cls, multiworld):
33-
raise Exception("APSudoku cannot be used for generating worlds, the client can instead connect to any slot from any world")
34-

worlds/apsudoku/archipelago.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"game": "Sudoku",
3+
"authors": ["EmilyV99"]
4+
}

0 commit comments

Comments
 (0)