Skip to content

Commit

Permalink
name the game
Browse files Browse the repository at this point in the history
Signed-off-by: Bradley Reynolds <[email protected]>
  • Loading branch information
shenanigansd committed Apr 2, 2023
1 parent aeb49c1 commit c1e01cd
Show file tree
Hide file tree
Showing 40 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ finish later.
To install the game, you need to clone this repo and install the dependencies:

```commandline
git clone https://github.com/letsbuilda/pyweek-2023-03.git
git clone https://github.com/letsbuilda/slayer_in_the_shadows.git
cd pyweek-2023-03
python -m pip install -r requirements.txt
```
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from importlib.metadata import metadata

project_metadata = metadata("pyweek-2023-03")
project_metadata = metadata("slayer-in-the-shadows")
project: str = project_metadata["Name"]
release: str = project_metadata["Version"]
REPO_LINK: str = project_metadata["Project-URL"].replace("repository, ", "")
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[project]
name = "pyweek-2023-03"
name = "slayer-in-the-shadows"
version = "0.1.0"
description = "Our entry to PyWeek March 2023"
authors = [
Expand All @@ -13,8 +13,8 @@ dependencies = [
]

[project.urls]
repository = "https://github.com/letsbuilda/pyweek-2023-03/"
documentation = "https://docs.letsbuilda.dev/pyweek-2023-03/"
repository = "https://github.com/letsbuilda/slayer-in-the-shadows/"
documentation = "https://docs.letsbuilda.dev/slayer-in-the-shadows/"

[project.optional-dependencies]
dev = [
Expand All @@ -37,7 +37,7 @@ requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[tool.setuptools.package-data]
pyweek_2023_03 = ["**/*.png", "**/*.tmx", "**/*.tsx", "**/*.wav"]
slayer_in_the_shadows = ["**/*.png", "**/*.tmx", "**/*.tsx", "**/*.wav"]

[tool.black]
target-version = ["py310"]
Expand Down
2 changes: 1 addition & 1 deletion run_game.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""PyWeek wrapper for game entrypoint"""

from pyweek_2023_03.__main__ import main
from slayer_in_the_shadows.__main__ import main

main()
2 changes: 0 additions & 2 deletions src/pyweek_2023_03/__init__.py

This file was deleted.

1 change: 1 addition & 0 deletions src/slayer_in_the_shadows/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""slayer-in-the-shadows"""
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

def get_asset_path(*paths: str, is_as_file: bool = True):
"""Gets the path for an asset"""
file_path = files("pyweek_2023_03")
file_path = files("slayer_in_the_shadows")
file_path = file_path.joinpath("assets")
for path in paths:
file_path = file_path.joinpath(path)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Screen
SCREEN_WIDTH = 24 * 64
SCREEN_HEIGHT = 15 * 64
SCREEN_TITLE = "pyweek-2023-03"
SCREEN_TITLE = "Slayer in the Shadows"

# Constants used to scale our sprites from their original size
CHARACTER_SCALING = 1
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit c1e01cd

Please sign in to comment.