Comments (5)
Thanks, it's always great to hear that people like the game.
Currently the tasks are generated randomly, which means that it's easy and fast to play offline - but I do like your idea.
What about this: you can select game modes in the settings: random and collective (what you suggested). Ignoring the potential for cheating, it would also serve as an interesting database for regex solutions. If wisely programmed, it also shouldn't make the app too large.
I'm going to take a look at the code again (was to lazy to work on it for a while), and after some cleaning up, I could implement a client interface. The server would take a bit more time to create, but it would also be doable.
Would/Can you contribute in any way (web design, server design, etc.)?
from regex.
if someone helps with the UI, I could help developing the website frontend (ie angularjs) and maybe the server backend (PHP? Python? RoR?)
from regex.
@nico202 What the server is implemented in is irrelevent, as long as we are sure how the data is transferred. All I ever worked on was node.js, so I consequently believe that JSON would be a good medium. But I don't know too much about other web platforms, so whatever you would be willing to help in would work. Maybe something with good regex solving speed, so the server could confirm the submission.
All this regex database would have to contain would be (main) tables: problems and solutions with number of times it would have been applied. The question would now be how to rate better and worse solutions. I don't belive that ReGeX's score algorithm would be of much help here, so maybe some democratic voting system? But that would require accounts of some sort, etc.
I'm going to think about the infrastructure, maybe I'm going to come up with something usable. Other than that, I could also help with web design, but warning: it probably won't be the best looking site at first. Or we make it look like Hacker News to be cool
from regex.
Latest commit: 244079a
This was more work that it should have been, but I finally implemented a working web interface for what I provisionally call REDB (Regex Database). When connected to a server, it will ask /newtask?diff=[difficulty]
for a new round, it will respond in JSON, ReGeX will process it and display. This of course has to be treaded, so that's why it took me so long because it was a bit of a fuss.
Anyway, the only things left for the v1.2 release are:
-
Submitting results to REDB overImplementing submission over the ReGeX game server protocol/submit
(post request, uploading json) - A game mode selection interface
-
A offline/in-app introduction to the game and regular expressions in general (probably just HTML/Markdown file)(for some other day) - The REDB server itself
Regarding the last point: I am planning on picking up the The Go Programming Language soon, so I though about writing the server in Go, and use Docker to run it either on AWS Elastic Beanstalk , Google Cloud Platform or some other PaaS. If anyone has any experiences in that field, I'd love some advice. run it on DigitalOcean.
Edit [29/10/2015]: Suggestions implemented with 47cd5f9, and plan update
Edit [10/11/2015]: Settings interface for game modes fully finished and functional with df3bff5
Edit [16/11/2015]: v1.2 is out. Now the server has to be finished. Afterwards, I'll publish it to F-Droid and maybe even the play store...
Edit [20/07/2016]: The server has been implemented, after slight delays. "Sadly" I changed a protocol and created/defined a lower level TCP protocol, so ReGeX REDB game mode has to be rewritten.
from regex.
With 4b79534 more or less all should be set (and I thought 244079a was a lot of work). The website had been written, and I will deploy in any day now. The main problem now will be adding tasks, because you accentually have to think do to that... But as soon as there are enough tasks (100-200?), I'll publish v1.3 on F-Droid hoping to attract contributers to REDB.
Anything I forgot? I hope not~
Edit [08/09/2016]: redb.org.uk is running
from regex.
Related Issues (20)
- "ReGeX wurde angehalten"[GER] ~"ReGeX was stopped/paused/..."[supposed English error] HOT 13
- Error requesting next task from server. HOT 10
- IndexOutOfBoundsException when opening the application HOT 7
- Game freezes after first launch HOT 4
- Random language generation needed HOT 4
- Scrollable view changes state on device rotation HOT 7
- User input text loss on device rotation HOT 4
- Text changes state on device rotation HOT 4
- API Compatibility Issues HOT 1
- Conditional Regel working? HOT 3
- ReDB is offline HOT 2
- show solutions HOT 1
- Rewrite ReGeX in Kawa Scheme
- game mode suggestion: paragraph extraction HOT 2
- F-Droid 3 Years Old HOT 1
- Count wrong when losing focus HOT 1
- Scoring? HOT 4
- Highest level HOT 3
- Question: why not matched HOT 3
- extend score display time HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from regex.