Giter VIP home page Giter VIP logo

farm's Introduction

Farm

Terminal farm simulator

farm's People

Contributors

flak-zoso avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

farm's Issues

IndexError handling missing

|||||||||||||||||||||||||||||||||||||||    |||||||||||||||||||||||||||||||||||||||
|||         |||         |||         |||    |||         |||         |||         |||
|||         |||         |||         |||    |||         |||         |||         |||
|||         |||         |||         |||    |||         |||         |||         |||
|||         |||         |||         |||    |||         |||         |||         |||
|||||||||||||||||||||||||||||||||||||||    |||||||||||||||||||||||||||||||||||||||
|||         |||         |||         |||    |||         |||         |||         |||
|||         |||         |||         |||    |||         |||         |||         |||
|||         |||         |||         |||    |||         |||         |||         |||
|||         |||         |||         |||    |||         |||         |||         |||
|||||||||||||||||||||||||||||||||||||||    |||||||||||||||||||||||||||||||||||||||

----------------------------------------------------------------------------------

1) 1st enclosure
2) 2nd enclosure
3) 3th enclosure
4) 4th enclosure
5) 5th enclosure
6) 6th enclosure
7) 7th enclosure
8) 8th enclosure
9) 9th enclosure
10) 10th enclosure
11) 11st enclosure
-- - - - - - - - - - --
12) Back to the farm
> 12
Traceback (most recent call last):
  File "D:\Python\Python\Farm\main.py", line 201, in enclosure
    animal: str = items[int(choice)-1]
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\Python\Python\Farm\main.py", line 294, in field
    crop = crops_[int(answer)-1]
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\Python\Python\Farm\main.py", line 259, in fields
    dat["Fields"][int(choice)-1]
ValueError: invalid literal for int() with base 10: ''

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\Python\Python\Farm\main.py", line 201, in enclosure
    animal: str = items[int(choice)-1]
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\Python\Python\Farm\main.py", line 201, in enclosure
    animal: str = items[int(choice)-1]
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\Python\Python\Farm\main.py", line 201, in enclosure
    animal: str = items[int(choice)-1]
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\Python\Python\Farm\main.py", line 170, in enclosures
    dat["Enclosures"][int(choice)-1]
ValueError: invalid literal for int() with base 10: ''

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\Python\Python\Farm\main.py", line 201, in enclosure
    animal: str = items[int(choice)-1]
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\Python\Python\Farm\main.py", line 201, in enclosure
    animal: str = items[int(choice)-1]
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\Python\Python\Farm\main.py", line 611, in <module>
    main(a.main())
  File "D:\Python\Python\Farm\main.py", line 24, in main
    games(user)
  File "D:\Python\Python\Farm\main.py", line 50, in games
    farm(user, dictionary[answer])
  File "D:\Python\Python\Farm\main.py", line 90, in farm
    answers[answer](user, game)
  File "D:\Python\Python\Farm\main.py", line 174, in enclosures
    enclosure(user, game, int(choice)-1)
  File "D:\Python\Python\Farm\main.py", line 233, in enclosure
    refresh(user, game)
  File "D:\Python\Python\Farm\main.py", line 136, in refresh
    farm(user, game)
  File "D:\Python\Python\Farm\main.py", line 90, in farm
    answers[answer](user, game)
  File "D:\Python\Python\Farm\main.py", line 263, in fields
    field(user, game, int(choice)-1)
  File "D:\Python\Python\Farm\main.py", line 334, in field
    fields(user, game)
  File "D:\Python\Python\Farm\main.py", line 261, in fields
    farm(user, game)
  File "D:\Python\Python\Farm\main.py", line 90, in farm
    answers[answer](user, game)
  File "D:\Python\Python\Farm\main.py", line 174, in enclosures
    enclosure(user, game, int(choice)-1)
  File "D:\Python\Python\Farm\main.py", line 224, in enclosure
    enclosures(user, game)
  File "D:\Python\Python\Farm\main.py", line 174, in enclosures
    enclosure(user, game, int(choice)-1)
  File "D:\Python\Python\Farm\main.py", line 230, in enclosure
    enclosures(user, game)
  File "D:\Python\Python\Farm\main.py", line 174, in enclosures
    enclosure(user, game, int(choice)-1)
  File "D:\Python\Python\Farm\main.py", line 224, in enclosure
    enclosures(user, game)
  File "D:\Python\Python\Farm\main.py", line 172, in enclosures
    farm(user, game)
  File "D:\Python\Python\Farm\main.py", line 90, in farm
    answers[answer](user, game)
  File "D:\Python\Python\Farm\main.py", line 174, in enclosures
    enclosure(user, game, int(choice)-1)
  File "D:\Python\Python\Farm\main.py", line 235, in enclosure
    enclosure(user, game, n)
  File "D:\Python\Python\Farm\main.py", line 230, in enclosure
    enclosures(user, game)
  File "D:\Python\Python\Farm\main.py", line 170, in enclosures
    dat["Enclosures"][int(choice)-1]
IndexError: list index out of range

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.