new entries and cleanup

This commit is contained in:
Trilarion 2017-12-11 17:24:51 +01:00
parent cd67dd33b7
commit b72c85b806
10 changed files with 93 additions and 14 deletions

View File

@ -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)

6
games/action/_toc.md Normal file
View File

@ -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)

13
games/action/epiar.md Normal file
View File

@ -0,0 +1,13 @@
# Epiar
_Open-ended space action/trading game._
- Home: <https://web.archive.org/web/20170123082605/http://epiar.net/>
- Download: <https://web.archive.org/web/20161106210633/http://epiar.net/download>
- State: beta
- Code: https://github.com/cthielen/Epiar
- Language(s): C, C++. Lua, Html
- License: GPL-2.0
## Building

View File

@ -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()

View File

@ -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)

View File

@ -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

View File

@ -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: <https://web.archive.org/web/20161221150109/http://sumwars.org:80/wiki/Main_Page>
- Download: <https://web.archive.org/web/20160704003202/http://sumwars.org:80/wiki/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

View File

@ -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
15 (8.2%) 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
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%)
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%)

15
games/template_short.md Normal file
View File

@ -0,0 +1,15 @@
# {NAME}
_{Description}_
- Home: {URL}
- Media: {URL}
- Download: {URL}
- State: {XX}
- Keywords: {XX}
- Code: {URL}
- Language(s): {XX}
- License: {XX}
## Building