Skip to content

amrtgaber/aoe2-random-civ-draft

Repository files navigation

Age of Empires 2 Random Civilization Draft

This app is a fan made project that randomly selects a civilization from the game. The app can customize the pool of civilizations to draft from and also has features for editing and saving the civ pool.

Hosted at

https://aoe2-random-civ-draft.com/

API

The app relies on an api to get the list of civilizations. The code for this api can be found at https://github.com/amrtgaber/aoe2-data-api.

Available Scripts

In the project directory, you can run:

npm start

NOTE: This app was tested with node version 16. Node version 18 may cause problems.

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run make

Creates an electron executable.

npm run electron start

Runs a development window for electron build.

License

MIT licensed.


Age of Empires II © Microsoft Corporation. Age of Empires II Data Api was created under Microsoft's "Game Content Usage Rules" using assets from Age of Empires II and it is not endorsed by or affiliated with Microsoft.