Project

General

Profile

Task #6686

Implement game challenges 7-

Added by Nico Schottelius 6 months ago. Updated 11 days 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:

History

#1

Updated by Roland Zweifel 5 months 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

#2

Updated by Nico Schottelius 5 months ago

Good work, more updates like this, please!

writes:

#3

Updated by Roland Zweifel 5 months 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

#4

Updated by Roland Zweifel 5 months 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.

#5

Updated by Nico Schottelius 5 months ago

Hey Roli,

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

writes:

#6

Updated by Roland Zweifel 5 months 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

#7

Updated by Nico Schottelius 5 months ago

  • Assignee deleted (Nico Schottelius)
#8

Updated by Nico Schottelius 11 days ago

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

will create another task for this later

Also available in: Atom PDF