freyamade / nocturne Goto Github PK
View Code? Open in Web Editor NEW[Backburner] Crystal / Amber Framework Village Builder web application
License: MIT License
[Backburner] Crystal / Amber Framework Village Builder web application
License: MIT License
Building Resource admin pages
Tim just gave me an idea that the front page instead of just saying what the hell is Nocturne should glitch out and show some code / base 64 encoded text after a little while?
This could lend itself to an ARG which would be pretty cool to do maybe idk
Should probably do some testing of the system.
It's more the player side functionality that needs testing though so I'll do it as I do the stuff for the people to see
Should I make a co-inciding Android App?
My intention is to make this site a PWA but it might be nice to leverage native Android Stuff too...
BuildingFurnishing admin pages
Build Queue admin pages
Add middleware to the pipeline that checks for Notifications (new table) and use flash
to display them to users who haven't seen them yet
Turn the index page into a place with descriptive cards explaining the purpose of the website.
Only players should be able to access the village building aspect itself
Village admin pages
Resource Store admin pages
Build Queue Buildings admin pages
Residing Crafter admin pages
Admin Control over User accounts
Villager admin pages
Resource admin pages
Here the Players will be able to request new buildings / upgrade buildings
The building model has list and create pages done, but the read and update pages still need to be made and handled
Village Building admin pages
Crafter admin pages
Required Crafter admin pages
Provide a village overview that provides information at a glance about stats in the village
Also admin controls on the page
There are some Node packages with vulnerabilities.
I tried to upgrade them but it ended up breaking the Amber build.
Can someone better at Node than me pls have a go thank you
I wonder if your current shards pointed to 0.8.0 could work with Amber 0.9.0 and Granite 0.14.0 ?
I find a confusing macro error with Granite:
instantiating 'Village#village_buildings()'
in src/models/village.cr:7: expanding macro
has_many :village_buildings
^
in macro 'has_many' /Users/crystal/Downloads/nocturne-master/lib/granite/src/granite/associations.cr:52, line 8:
1.
2.
3.
4.
5.
6.
7. def village_buildings
> 8. Granite::AssociationCollection(self, VillageBuildings).new(self, "village_id", nil)
9. end
10.
undefined constant VillageBuildings (did you mean 'VillageBuilding')
I don't plan on implementing trade routes between villages until Ch3 or 4 but we need to think about them sooner rather than later.
Essentially we will want the players to be able to set up trade routes between villages which is basically a resource generator. A couple of bullet point thoughts about them;
Furnishing admin pages
I intend to use webpush to inform the players of finished buildings.
There is no backend webpush module in Crystal yet so Imma write my own one
Amber just had Crystal 0.25 support merged into master so if it hasn't already, Amber 0.8 is ready.
Since I already upgraded Crystal to 0.25 on my PC I've been waiting for this. Now I can go in and upgrade / fix this project to work in Crystal 0.25.
Also, since amberframework/amber#825 was merged, which updated the dependency versions to fix auditing issues, I should updated the deps for the project too.
After finishing all of the initial model admin controllers, take a look at the paradigm that it uses and see if we can streamline it in any way
Admin Pages
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.