I was gifted a copy of Fantasy Flight's Star Trek Alliance board game. Though I enjoy the game, doing all the tasks can become a chore. As I need to learn more coding, I started working on a Java app helper. It is on my github as well.For now, it is just a text outline that will soon be complete enough to use to play the game. As time goes on, I will automate things such as dice throws and damage accounting.
This is a work in progress and you must use it at your own risk. The APK is included at various update stages. APK apps can damage phones if you aren't careful, so use at your own risk. However, this app is running on my Motorola without problem.
Arbitrarily enforced some structure on the app source. Probably in future, I'll use an index.js that calls App.js from /src, but for now, I'll stick with this form.
This app will be a carbon copy of the game rules, just organized where you can get around. Will probably add some dice throw components, but may not take this version much further. When this is app is done, then I'll do it more like the Java version I started, fully automated.
Had to restart my development and realized I had never written down the order of march. Here it is.
These are the technologies needed. Android SDK is not needed.
React Native
Expo development
EAS build
- You MUST have your Nodejs version at an LTS, currently 16.15.1. Get the Expo Android app (Sorry, I don't do IOS).
- Install expo-cli --
npm install -g exp-cli
- Create Expo account at https://expo.dev
- Use
expo login
with account credentials - Build initial project --
expo init my-app-folder
- CD into project folder and run --
expo start
- Ignore everything on terminal except where Developer tools will run. Likely at http://localhost:19002, but might be different.
- Open web page at location identified above.
- Ignore QR code. Click on TUNNEL where it has CONNECTION.
- QR code will now change. Read QR code and your Android app will download to your phone on the Expo App. This is your development process. It works.
EAS will build the APK of your Android project.
npm install -g eas-cli
eas whoami
- Log in using Expo credentials, if you aren't. Run all following commands from inside your app folder.eas build:configure
and choose Android in the list of options presented. An EAS.json file will be built in your app.eas.json
contents with the example found at -- https://docs.expo.dev/build-reference/apk/.eas build -p android --profile preview