Project

General

Profile

Actions

Task #6686

closed

Implement game challenges 7-

Added by Nico Schottelius about 3 years ago. Updated almost 3 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
05/13/2019
Due date:
% Done:

0%

Estimated time:
PM Check date:

Description

To be defined:

  • challenge 7:
  • challenge 8:
  • challenge 9:
  • challenge 10:
Actions #1

Updated by Roland Zweifel about 3 years ago

Things i did to understand flask:

- found out how to install and wrote progress to Chaorite
- learned structure with a web page, progress to chaorite
-- wrong way, no input/output to html - > input/output by CLI (curl). going back to start again
--
- learned how to interact with CLI to Flask by GET/POST with input form
-- learned ho to send msg by curl
- learned how to interact with CLI to Flask by GET/POST with request methode
-- learned how to send a integer by curl
--- wrong way, input/output must be in use of JSON
- learned how to use JSON for Inputs
-- learned how to send JSON Frame by curl

- Input & Output with JSON works!
- GIT ADD / COMMIT / STATUS / PUSH

Actions #2

Updated by Nico Schottelius about 3 years ago

Good work, more updates like this, please!

writes:

Actions #3

Updated by Roland Zweifel about 3 years ago

Things i did today:

- Raw Flask Structure is ready
- JSON Commands are planned
- Server can take command and give out a specified variable
- and: Git Push is done

Actions #4

Updated by Roland Zweifel about 3 years ago

- programming first challlenge
-- programmed striping network-string (check if the syntax is ok)
-- programmen switch (to select later the challenges)
-- stopped at a error - could it be that Flask has rulez where to write your code?

- cooked and going back to work
-- is the error about the "if name == '__main__': app.run(debug=True)" ??
-- OK OK Python doesnt have the switch case statement, lets do something else... man! what a world!
-- rewrite first part of the code
-- find a solutione for the next one (switch would be perfect for that...)

- Challenge 1 is running!
-- Ok i have to to some other things but core is running
-- store it in a DB
-- and then dont forget to do the login, that will also stored in a DB
-- make it pretty! remove useless comments or #, make it pretty an keep the idea for other Challenges.

Actions #5

Updated by Nico Schottelius about 3 years ago

Hey Roli,

please ensure that your code is always pushed to code.ungleich.ch

writes:

Actions #6

Updated by Roland Zweifel about 3 years ago

- installed mysql and a client to verify the connection
- solved connection trouble with mysql successfully
- saved progress and realized, that i should use PostGreSQL and/or etcd

Actions #7

Updated by Nico Schottelius about 3 years ago

  • Assignee deleted (Nico Schottelius)
Actions #8

Updated by Nico Schottelius almost 3 years ago

  • Status changed from New to Rejected
  • Parent task deleted (#6679)

will create another task for this later

Actions

Also available in: Atom PDF