Code Monkey home page Code Monkey logo

advanced-programming-tutorials's Introduction

advanced-programming-tutorials

Questions and Code for the tutorials I'll deliver for CSE201

Hall of Fame

You guys have been doing a great job in finding issues and submitting PRs ๐Ÿค—

Suggestions and pull requests are welcome! If you feel something can be improved, you can help improve the code:

  • Open up an issue about your concern by clicking on the issue tab above
  • We'll have a discussion on the best way to go about it
  • Finally you can submit a pull request and we'll merge your code to the repo

Why do all this? Is this graded?

  • No it's not graded
  • With hacktoberfest coming in, it's a pretty good oppurtunity to learn about open source
  • These activities will help you concretize your Advanced Programming concepts as well

Thanks for reading.

advanced-programming-tutorials's People

Contributors

dv-rastogi avatar loser23 avatar rohanrajpal avatar tejasoberoi27 avatar vasu19126 avatar vasudevsinghal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

advanced-programming-tutorials's Issues

Exceptions not handled in tut7.

When we give unexpected input, program get terminated. I think to handle these exception, program should show error message then ask for input again.
I would like to contribute to this by handling these exception. If you want these exception to be handled in some other way, please let me know.

Hp should not be negative

While running tut-7 i found a bug that it hero hp can go negative. I think this should not be less than zero as mentioned in tut-7 pdf.

You choose to attack
Your Hp: 60/100Monsters Hp :180/200
Monster attack!
Your Hp: 35/100Monsters Hp :180/200
Choose move:

  1. Attack
  2. Defense
    3)Special Attack
    3
    Special power activated
    Performing special attack
    Your Hp: 35/100Monsters Hp :180/200
    Monster attack!
    Your Hp: -4/100Monsters Hp :180/200
    You have died start over
    You are at location 10 Choose path:
  3. Go to Location 0
  4. Go to Location 3
  5. Go to Location 6

tut-6 inputs are not taking properly

When i run tut-6 it is really difficult to understand what to enter because it is not printing what we have to enter. Also sometimes we need to enter 2 and 3 inputs together so it is really confusing what we have to enter.

Bug while creating multiple user in tut7

When we create multiple user in program it don't ask for username. It is because you used nextInt in tut7/Game.java and tut7/Menu.java, while taking integer input. I think by taking input as string and parsing it using Integer.parseInt() function to int will resolve this.

tut 5 is not running.

When I try to run Main.java in tut5 . I am getting many errors.
Main.java:77: error: 'else' without 'if' else{ ^ Main.java:86: error: class, interface, or enum expected private static int takeIntInput() { ^ Main.java:89: error: class, interface, or enum expected try { ^ Main.java:91: error: class, interface, or enum expected } catch (Exception ne) { ^ Main.java:93: error: class, interface, or enum expected } ^ 5 errors

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.