What is your level of expertise? If you are at a beginner level then I suggest you start with something simpler. If you have the chops for this project and are just stuck then I suggest you post the code you are having trouble with so that we have something concrete to work with in offering suggestions. Based on your comment
The design was already there I just don't know how to come up with a code.
I think that you are perhaps biting off more than you can chew at this point.
As to the design was already there, you posted code and not the design. There are some that write "read the code" but at some point when the app is big enough there needs to be a design document. Even if it's just a few pages to tell the next maintainer a mile high view of how it works without getting down to methods.
I have issues soming up with a unique code. This is an example but I don't know how to design a battleship game with one turn I've been told to follow something like this.
mode_ = false
# Do stuff for turn
# When turn is complete flip the switch and run function again for
# other player
mode_ = false if mode_ else true
# The above is called a ternary function, easy to use to flip switches
win = false
turn_ = 0
# Do stuff
turn_ += 1
# add 1 to turn count after done with turn
while not win:
if turn_ % 2 == 0:
# player 1 goes
# Player 2
I'm working in Excel to extract content of a table from a web page and populate Excel sheet cells with it. I'm trying to extract data from a table that gets loaded to a web page after show results method gets called. I have an error that says "Run-time error ...