Skip to content

Commit

Permalink
some games have keyword framework or game engine and that is wrong, t…
Browse files Browse the repository at this point in the history
…hey will be sorted as framework/tool
  • Loading branch information
Trilarion committed Sep 5, 2024
1 parent d910be9 commit 7aa19ef
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 20 deletions.
2 changes: 2 additions & 0 deletions code/backlog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ https://agateau.com/games/
https://app.assembla.com/spaces/Project_Valkyrie2/wiki
https://archive.codeplex.com/?p=turnota
https://archive.codeplex.com/?p=voxeliq
https://github.com/supernovaengine/supernova
https://github.com/deepnight/ldtk
https://archive.org/details/open_source_software
https://blenderartists.org/t/devils-pinball/552785
https://bluerenga.blog/
Expand Down
15 changes: 7 additions & 8 deletions code/html/generate_static_website.py
Original file line number Diff line number Diff line change
Expand Up @@ -823,15 +823,15 @@ def add_license_links_to_entries(entries):

def get_top50_games(games):
"""
Gets the top 50 games by stars (either Github or Gitlab)
:param games:
:return:
"""
top50_games = []
for game in games:
# get stars of repositories
stars = 0
for repo in game.get('Code repository', [])[:1]: # take at most one
for repo in game.get('Code repository', [])[:1]: # take only first one
if repo in github_top50_ignored_repos:
continue
if isinstance(repo, osg_parse.Value):
Expand All @@ -841,13 +841,12 @@ def get_top50_games(games):
continue
c = c.split(' ')
key = c[0][1:] # without the @
if len(c) > 1:
value = c[1]
if key == 'stars':
value = int(value)
if len(c) > 1 and key == 'stars':
value = int(c[1])
if value > stars:
stars = value
top50_games.append((game, stars))
if stars > 0:
top50_games.append((game, stars))
top50_games.sort(key=lambda x:x[1], reverse=True)
top50_games = top50_games[:50] # get top 50
top50_games =[game for game, stars in top50_games]
Expand Down Expand Up @@ -1201,7 +1200,7 @@ def generate(entries, inspirations, developers):
# top 50 github games
base['title'] = 'OSGL | Games | GitHub Top 50'
base['active_nav'] = ['filter', 'top50']
# there are no other games coming afterwards, can actually number them
# there are no other games coming afterward, can actually number them
for index, game in enumerate(top50_games):
game['name'] = f'{index + 1}. ' + game['name']
listing = {
Expand Down
2 changes: 1 addition & 1 deletion entries/minetest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
- State: mature
- Download: https://www.minetest.net/downloads/, https://f-droid.org//packages/net.minetest.minetest/
- Platform: Windows, Linux, macOS, Android
- Keyword: framework, remake, content open, voxel
- Keyword: simulation, remake, content open, voxel
- Code repository: https://github.com/minetest/minetest.git (@created 2011, @stars 9932, @forks 1935)
- Code language: C, C++, Lua
- Code license: LGPL-2.1
Expand Down
2 changes: 1 addition & 1 deletion entries/openage.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- Home: https://openage.sft.mx/
- Inspiration: Age of Empires, Age of Empires II, Star Wars: Galactic Battlegrounds
- State: beta
- Keyword: game engine, remake, strategy, content commercial, original required, real-time
- Keyword: remake, strategy, content commercial, original required, real-time
- Code repository: https://github.com/SFTtech/openage.git (@created 2013, @stars 12303, @forks 1092)
- Code language: C++, Python
- Code license: GPL-3.0
Expand Down
20 changes: 10 additions & 10 deletions entries/screenshots/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2116,9 +2116,9 @@ from running the game or from youtube play videos.

# mindustry

01 282 128 https://mindustrygame.github.io/images/1.png
02 288 128 https://mindustrygame.github.io/images/2.png
03 290 128 https://mindustrygame.github.io/images/3.png
01 282 128 https://mindustrygame.github.io/1.d25af17a.webp
02 288 128 https://mindustrygame.github.io/2.0d4f9a35.webp
03 290 128 https://mindustrygame.github.io/3.88567664.webp

# mineclone_2

Expand Down Expand Up @@ -2991,9 +2991,9 @@ from running the game or from youtube play videos.

# supertuxkart

01 238 128 https://supertuxkart.net/images/f/f9/Stk093_CandelaCity.jpg
02 238 128 https://supertuxkart.net/images/4/4e/Supertuxkart-0.9-screenshot-2.jpg
03 238 128 https://supertuxkart.net/images/1/1d/Stk093_Abyss.jpg
01 238 128 !https://supertuxkart.net/images/f/f9/Stk093_CandelaCity.jpg
02 238 128 !https://supertuxkart.net/images/4/4e/Supertuxkart-0.9-screenshot-2.jpg
03 238 128 !https://supertuxkart.net/images/1/1d/Stk093_Abyss.jpg

# supertuxparty

Expand Down Expand Up @@ -3113,7 +3113,7 @@ from running the game or from youtube play videos.

01 234 128 !https://camo.githubusercontent.com/fc14c156d22d41e2dde35e414223ff3b1900c2c59d7fcb73bd55cffc8610ed0b/68747470733a2f2f72616e646f6d74687269766566696c65732e622d63646e2e6e65742f73637265656e73686f74732f6769746875625f73637265656e73686f745f312e706e67
02 234 128 !https://camo.githubusercontent.com/4e8b03c4f3f682d26142728b9f27ac3a22c143a542912c7a0c922fe5e44802f2/68747470733a2f2f72616e646f6d74687269766566696c65732e622d63646e2e6e65742f73637265656e73686f74732f6769746875625f73637265656e73686f745f322e706e67
03 211 128 https://cdn.discordapp.com/attachments/464847270760939569/561527199090475009/image.png
03 211 128 !https://cdn.discordapp.com/attachments/464847270760939569/561527199090475009/image.png

# thrust

Expand Down Expand Up @@ -3245,9 +3245,9 @@ from running the game or from youtube play videos.

# unciv

01 242 128 https://raw.githubusercontent.com/yairm210/Unciv/master/extraImages/GithubPreviewImage.png
02 242 128 https://img.itch.zone/aW1hZ2UvNTIzMzIzLzcxOTkwMDAucG5n/original/BVUTYb.png
03 242 128 https://img.itch.zone/aW1hZ2UvNTIzMzIzLzcxOTkwMDEucG5n/original/f35Vyd.png
01 242 128 !https://raw.githubusercontent.com/yairm210/Unciv/master/extraImages/GithubPreviewImage.png
02 242 128 !https://img.itch.zone/aW1hZ2UvNTIzMzIzLzcxOTkwMDAucG5n/original/BVUTYb.png
03 242 128 !https://img.itch.zone/aW1hZ2UvNTIzMzIzLzcxOTkwMDEucG5n/original/f35Vyd.png

# undertalemodtool

Expand Down

0 comments on commit 7aa19ef

Please sign in to comment.