diff --git a/README.md b/README.md index f169c46f..2894e154 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,11 @@ # Open Source Games [comment]: # (start of autogenerated content, do not edit) +- **[Action games](games/action/_toc.md)** (1) - **[Adventure games & Visual novels](games/adventure/_toc.md)** (14) - **[Game frameworks](games/framework/_toc.md)** (46) - **[Popular required libraries](games/library/_toc.md)** (23) -- **[Role Playing Games](games/rpg/_toc.md)** (46) +- **[Role Playing Games](games/rpg/_toc.md)** (47) - **[Simulation games](games/simulation/_toc.md)** (10) - **[Strategy games](games/strategy/_toc.md)** (41) diff --git a/games/action/_toc.md b/games/action/_toc.md new file mode 100644 index 00000000..8a6d8262 --- /dev/null +++ b/games/action/_toc.md @@ -0,0 +1,6 @@ +# Action games + +[comment]: # (start of autogenerated content, do not edit) +- **[Epiar](epiar.md)** (C, C++. Lua, Html, GPL-2.0, beta) + +[comment]: # (end of autogenerated content) \ No newline at end of file diff --git a/games/action/epiar.md b/games/action/epiar.md new file mode 100644 index 00000000..a2b27e15 --- /dev/null +++ b/games/action/epiar.md @@ -0,0 +1,13 @@ +# Epiar + +_Open-ended space action/trading game._ + +- Home: +- Download: +- State: beta +- Code: https://github.com/cthielen/Epiar +- Language(s): C, C++. Lua, Html +- License: GPL-2.0 + +## Building + diff --git a/games/maintenance.py b/games/maintenance.py index 2f2156aa..f74445e5 100644 --- a/games/maintenance.py +++ b/games/maintenance.py @@ -16,6 +16,7 @@ import os import re import urllib.request import http.client +import datetime def get_category_paths(): """ @@ -343,17 +344,17 @@ def generate_statistics(): # total number number_entries = len(infos) - statistics += 'analyzed {} entries\n\n'.format(number_entries) + statistics += 'analyzed {} entries on {}\n\n'.format(number_entries, datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')) # Language statistics += '## Languages\n\n' number_no_language = sum(1 for x in infos if 'Language' not in x) if number_no_language > 0: - statistics += '{} ({:.1f}%) have no language tag\n'.format(number_no_language, number_no_language / number_entries * 100) + statistics += '{} ({:.1f}%) have no language tag\n\n'.format(number_no_language, number_no_language / number_entries * 100) entries_no_language = [x['file'][:-3] for x in infos if 'Language' not in x] # [:-3] to cut off the .md entries_no_language.sort() - statistics += ' ' + ', '.join(entries_no_language) + '\n\n' + statistics += ', '.join(entries_no_language) + '\n\n' # get all languages together languages = [] @@ -365,7 +366,7 @@ def generate_statistics(): unique_languages = [(l, languages.count(l) / len(languages)) for l in unique_languages] unique_languages.sort(key=lambda x: -x[1]) unique_languages = ['{} ({:.1f}%)'.format(x[0], x[1]*100) for x in unique_languages] - statistics += ', '.join(unique_languages) + '\n\n' + statistics += '\n'.join(unique_languages) + '\n\n' with open(statistics_path, 'w') as f: @@ -380,10 +381,10 @@ if __name__ == "__main__": readme_path = os.path.join(games_path, os.pardir, 'README.md') # recount and write to readme - #update_readme() + update_readme() # generate list in toc files - #update_category_tocs() + update_category_tocs() # generate report generate_statistics() diff --git a/games/rpg/_toc.md b/games/rpg/_toc.md index 4cac76a3..e815cb8c 100644 --- a/games/rpg/_toc.md +++ b/games/rpg/_toc.md @@ -12,7 +12,7 @@ - **[Crossfire](crossfire.md)** (C, Java, GPL-2.0) - **[DNT](dnt.md)** (C++, GPL-3.0, beta, inactive since 2016) - **[Daimonin](daimonin.md)** (C, GPL-2.0, mature) -- **[Dark City](dark_city.md)** (PHO, GPL-2.0, inactive since 2012) +- **[Dark City](dark_city.md)** (PHP, GPL-2.0, inactive since 2012) - **[Dawn](dawn.md)** (C++, GPL-3.0, beta, inactive since 2011) - **[Deliantra](deliantra.md)** (C, GPL-2.0, mature) - **[Egoboo](egoboo.md)** (C++, C, GPL-3.0, mature, inactive since 2015) @@ -40,9 +40,10 @@ - **[Source of Tales](source_of_tales.md)** (Lua, GPL-3.0) - **[Space Station 13](space_station_13.md)** (mature) - **[Stendhal](stendhal.md)** (Java, GPL-2.0, mature) +- **[Summoning Wars](summoming_wars.md)** (C++, GPL-3.0, beta, inactive since 2014) - **[The Mana World](manaworld.md)** (PHP, GPL-2.0) - **[Trinity Reign](trinity_reign.md)** (C++, GPL-3.0, beta, inactive since 2013) -- **[Umbra](Umbra.md)** (Python, Special, beta, inactive since 2002) +- **[Umbra](umbra.md)** (Python, Special, beta, inactive since 2002) - **[Valyria Tear](valyria_tear.md)** (Lua, C++, C, GPL) - **[VegaTrek](vegatrek.md)** (GPL-2.0, beta, inactive since 2013) - **[World of Phaos](world_of_phaos.md)** (PHP, GPL-2.0, inactive since 2011) diff --git a/games/rpg/dark_city.md b/games/rpg/dark_city.md index ed791437..dd0f4a3c 100644 --- a/games/rpg/dark_city.md +++ b/games/rpg/dark_city.md @@ -6,7 +6,7 @@ _DarkCity is a MMORPG game, in text mode on the Internet._ - Download: https://sourceforge.net/projects/darkcity/files/ - State: inactive since 2012 - Code: https://sourceforge.net/p/darkcity/code/HEAD/tree/ (svn) -- Language(s): PHO +- Language(s): PHP - License: GPL-2.0 ## Building diff --git a/games/rpg/summoming_wars.md b/games/rpg/summoming_wars.md new file mode 100644 index 00000000..3154efb6 --- /dev/null +++ b/games/rpg/summoming_wars.md @@ -0,0 +1,14 @@ +# Summoning Wars + +_Role-playing game, featuring both a single-player and a multiplayer mode for about 2 to 8 players._ + +- Home: +- Download: +- State: beta, inactive since 2014 +- Keywords: SP, MP +- Code: https://bitbucket.org/sumwars/sumwars-code/src (hg) +- Language(s): C++ +- License: GPL-3.0 + +## Building + diff --git a/games/statistics.md b/games/statistics.md index 8f6d4dca..76f43008 100644 --- a/games/statistics.md +++ b/games/statistics.md @@ -1,12 +1,40 @@ [comment]: # (autogenerated content, do not edit) # Statistics -analyzed 180 entries +analyzed 182 entries on 2017-12-11 17:23:23 ## Languages -15 (8.3%) have no language tag - crimson_fields, dragon_history, evol_online, land_of_fire, meritous, murder_in_the_public_domain, open_general, openal, openrpgmaker, parpg, solaris, space_station_13, star_maiden_rio, vegatrek, xconq +15 (8.2%) have no language tag -C++ (42.3%), C (24.5%), Java (7.2%), Python (6.7%), Lua (3.8%), Ren'py (1.9%), C# (1.4%), Javascript (1.4%), Haxe (1.0%), HTML (1.0%), PHP (1.0%), D (0.5%), Kotlin (0.5%), Clojure (0.5%), Pascal (0.5%), Delphi Pascal (0.5%), GDScript (0.5%), Objective C (0.5%), Typescript (0.5%), Java 8 (0.5%), PHO (0.5%), Ada (0.5%), Basic (0.5%), Delphi (0.5%), Angelscript (0.5%), VB (0.5%), ActionScript (0.5%) +crimson_fields, dragon_history, evol_online, land_of_fire, meritous, murder_in_the_public_domain, open_general, openal, openrpgmaker, parpg, solaris, space_station_13, star_maiden_rio, vegatrek, xconq + +C++ (42.0%) +C (24.5%) +Java (7.1%) +Python (6.6%) +Lua (3.8%) +Ren'py (1.9%) +Javascript (1.4%) +PHP (1.4%) +C# (1.4%) +HTML (0.9%) +Haxe (0.9%) +Java 8 (0.5%) +GDScript (0.5%) +ActionScript (0.5%) +Objective C (0.5%) +Kotlin (0.5%) +Delphi (0.5%) +C++. Lua (0.5%) +Delphi Pascal (0.5%) +Basic (0.5%) +Typescript (0.5%) +D (0.5%) +Clojure (0.5%) +Angelscript (0.5%) +VB (0.5%) +Html (0.5%) +Ada (0.5%) +Pascal (0.5%) diff --git a/games/template.md b/games/template_long.md similarity index 100% rename from games/template.md rename to games/template_long.md diff --git a/games/template_short.md b/games/template_short.md new file mode 100644 index 00000000..1f615496 --- /dev/null +++ b/games/template_short.md @@ -0,0 +1,15 @@ +# {NAME} + +_{Description}_ + +- Home: {URL} +- Media: {URL} +- Download: {URL} +- State: {XX} +- Keywords: {XX} +- Code: {URL} +- Language(s): {XX} +- License: {XX} + +## Building +