Making a simple Game | Core Java and OOPs | Java OOPs Project

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ธ.ค. 2020
  • In this video we will learn how OOPs concept is used in developing a real software/apps by making a simple game. Although we cannot call it a game because it doesn't have an UI or sound.
    Source Code : github.com/abhaylivenow/Simpl...

ความคิดเห็น • 118

  • @kevinpatel1409
    @kevinpatel1409 2 ปีที่แล้ว +1

    This is my first project i am doing such a good explaination

  • @Jethro-li8gl
    @Jethro-li8gl ปีที่แล้ว +1

    Awsome! thanks for making content like this, it helps me a lot in school!

  • @Avenger0505
    @Avenger0505 2 ปีที่แล้ว +1

    Best explanation for oops in youTube yet.

    • @_eazyalgo
      @_eazyalgo  2 ปีที่แล้ว

      Thanks alot man :)

  • @shady.gg1234
    @shady.gg1234 2 ปีที่แล้ว +2

    Bro , This is craz yo , no words to tell, but keep this yo, thanks very much!!! good luck

  • @elyricmanatad1720
    @elyricmanatad1720 2 ปีที่แล้ว +3

    Hope it will implement with graphics, you have your new subscriber ❤️

  • @morrazzo4432
    @morrazzo4432 2 ปีที่แล้ว +2

    Bro excellent explaination!
    Step by step explaination! Good..
    This is what I want

    • @_eazyalgo
      @_eazyalgo  2 ปีที่แล้ว

      Keep supporting Shaikh Asif :)

  • @manikandanm5567
    @manikandanm5567 3 ปีที่แล้ว +15

    Nice work dude. expecting more mini projects from you. thank you.

    • @_eazyalgo
      @_eazyalgo  3 ปีที่แล้ว +3

      Really appreciate man :)

  • @developer_opm
    @developer_opm 6 หลายเดือนก่อน +1

    Loved it

  • @suvendu2144
    @suvendu2144 ปีที่แล้ว +1

    Really appreciated man ❤

  • @shrabonisinha
    @shrabonisinha 11 หลายเดือนก่อน +1

    Works perfectly. Thank you for the resource. Please extain this project

    • @_eazyalgo
      @_eazyalgo  11 หลายเดือนก่อน +1

      Welcome. Yes will create more such projects.

    • @yashwanthpasaladi2714
      @yashwanthpasaladi2714 11 หลายเดือนก่อน

      @@_eazyalgo who are holding guns here ? i didn't understand the concept of this video

  • @ninadnirbhavane6024
    @ninadnirbhavane6024 2 ปีที่แล้ว +1

    That was very helpful. thankyou so much.

    • @_eazyalgo
      @_eazyalgo  2 ปีที่แล้ว

      Really appreciate it man :)

  • @zakirdeshmukh9916
    @zakirdeshmukh9916 ปีที่แล้ว +4

    usually I didn't comment, but this video is very helpful man , thanks 🙏❤️ , please make more videos like this. please

    • @_eazyalgo
      @_eazyalgo  ปีที่แล้ว

      Thanks Zakir :)

  • @lasith123
    @lasith123 2 ปีที่แล้ว +2

    Wow..superb 😍😍😍..very helpful 😍😘🙏🙏🙏🙏

    • @_eazyalgo
      @_eazyalgo  2 ปีที่แล้ว

      Thanks man :)

  • @Anitha.D
    @Anitha.D 10 หลายเดือนก่อน

    Thanks easy to understand and follow 😊

    • @_eazyalgo
      @_eazyalgo  10 หลายเดือนก่อน +1

      Thanks Anitha for your kind words!! :)

  • @dhavall25
    @dhavall25 ปีที่แล้ว

    Thanks,this is really helpful 💫

    • @_eazyalgo
      @_eazyalgo  ปีที่แล้ว

      Consider Subscribing Dhaval :)

  • @anasansari5038
    @anasansari5038 ปีที่แล้ว

    This will be my semester project 😁
    love from pakistan

    • @_eazyalgo
      @_eazyalgo  ปีที่แล้ว

      Thanks Anas, it means a lot :)

  • @MaheshPatil-cz5cd
    @MaheshPatil-cz5cd ปีที่แล้ว

    Loved❤ your game I am going to make this mini project tomorrow morning pls make more such videos.😉😊🙂👍🙏

    • @_eazyalgo
      @_eazyalgo  ปีที่แล้ว

      Thanks Mahesh, working on more videos

  • @preetiranjansahoo9086
    @preetiranjansahoo9086 ปีที่แล้ว

    Thank sir 💜

  • @GigaNiga7
    @GigaNiga7 3 ปีที่แล้ว +4

    Thanks for this video.
    Can u please start the series of such games with core java and oops with increasing difficulty in each game with new complicated stuff.

    • @_eazyalgo
      @_eazyalgo  3 ปีที่แล้ว +2

      Thanks! You can check this video th-cam.com/video/49eeLxc6xE4/w-d-xo.html this project has more difficulty than project shown in this video

    • @GigaNiga7
      @GigaNiga7 3 ปีที่แล้ว

      @@_eazyalgo Yeah ,i am watching it right now.

    • @GigaNiga7
      @GigaNiga7 3 ปีที่แล้ว

      Such games are really engaging and interesting way to learn complicated stuff without getting bored.

  • @rjzim2506
    @rjzim2506 3 ปีที่แล้ว

    Bro this concept is very interesting. Update this game and share with us. Take 💜💜💜

  • @isakborovac
    @isakborovac ปีที่แล้ว

    Great video!

    • @_eazyalgo
      @_eazyalgo  ปีที่แล้ว

      Thanks Isak :)

  • @Gitoman
    @Gitoman 2 ปีที่แล้ว

    Cool!

    • @_eazyalgo
      @_eazyalgo  2 ปีที่แล้ว

      Thanks Pedro

  • @avinashvishwakarma418
    @avinashvishwakarma418 ปีที่แล้ว

    Good one bro

    • @_eazyalgo
      @_eazyalgo  ปีที่แล้ว

      Thanks Avinash :)

  • @harshrathod8209
    @harshrathod8209 2 ปีที่แล้ว +6

    Awesome explanation man. Can you please please start explaining core java to us?

    • @_eazyalgo
      @_eazyalgo  2 ปีที่แล้ว +1

      Will surely work on that buddy :)

  • @saljeshmaharjan6760
    @saljeshmaharjan6760 2 ปีที่แล้ว

    awesome bother i want concept of oops in detail

    • @_eazyalgo
      @_eazyalgo  2 ปีที่แล้ว

      Thanks brother! Will upload more videos soon

  • @sarangoding7321
    @sarangoding7321 2 ปีที่แล้ว

    good tutorial

  • @gunmetalbullets
    @gunmetalbullets ปีที่แล้ว

    you should read about DRY principle :)

  • @soufianta8374
    @soufianta8374 2 ปีที่แล้ว

    Hi. Simple question: why are you able to override class player1 methods in class player2 even it they’re not “abstract” ones ??? Technically it seems to be possible but it’s not a good practise right? I thought that we were only able to override “abstracts” ones (some errors at compile time) but I was wrong, it’s still possible to override non abstract ones.. Thanks

    • @_eazyalgo
      @_eazyalgo  2 ปีที่แล้ว +1

      Hey Soufian,
      Its possible to override methods from parent class to child classes if they are not private.

  • @abhilashLeader_07
    @abhilashLeader_07 2 ปีที่แล้ว

    Are u uploading more videos ?

  • @zainabarif7440
    @zainabarif7440 6 หลายเดือนก่อน

    How to convert it into gui based?

  • @glamoroushub1407
    @glamoroushub1407 10 หลายเดือนก่อน

    your voice😌💕

    • @_eazyalgo
      @_eazyalgo  10 หลายเดือนก่อน

      Thanks :)

  • @teemolol3075
    @teemolol3075 ปีที่แล้ว

    Why did you make: if - if - if, and not if - else if - else?

  • @alokitabadame4922
    @alokitabadame4922 2 ปีที่แล้ว

    thanks

    • @_eazyalgo
      @_eazyalgo  2 ปีที่แล้ว

      Consider subscribing :)

  • @GigaNiga7
    @GigaNiga7 3 ปีที่แล้ว +2

    If we don't declare health variable in player2 , then how we can do operations on health in damage methods in player 2? As we cant use this.health there as it is private in player 1?

    • @_eazyalgo
      @_eazyalgo  3 ปีที่แล้ว

      You can use setters for this after extending from player1

    • @Anilkumar-ys9zw
      @Anilkumar-ys9zw 3 ปีที่แล้ว +1

      @@_eazyalgo sir,how can i use can you please explain in brief

    • @houdadjilalihamida4330
      @houdadjilalihamida4330 2 ปีที่แล้ว +1

      @@_eazyalgo can you explain more

  • @lakshyachaturvedi2712
    @lakshyachaturvedi2712 ปีที่แล้ว +1

    why are you using this?Can't we do name=name,health=health,weapon=weapon?

  • @arunvasu30
    @arunvasu30 6 หลายเดือนก่อน

    Intelli j theme?

  • @priyankrathod5364
    @priyankrathod5364 2 ปีที่แล้ว

    Cannot determine path to 'tools.jar' library for 1.8, how to remove this bug??

    • @_eazyalgo
      @_eazyalgo  2 ปีที่แล้ว

      Email me at abhay10june1999@gmail.com with detailed explanation of issue.

  • @fasihulhussan7240
    @fasihulhussan7240 3 ปีที่แล้ว

    Sir may i know the system features ; project scope & operating environment

    • @_eazyalgo
      @_eazyalgo  3 ปีที่แล้ว

      This is project has no value on its own, I just showed how softwares/apps are made using object oriented design.

  • @tusharbhatia6777
    @tusharbhatia6777 ปีที่แล้ว +1

    #doubt
    why we have to write "private int health" in class player2 as well when we already have written it class player1 and when i am removing it from class player2 why i can't access it when i already have inherit it from class player1 give me full explanation please

    • @_eazyalgo
      @_eazyalgo  ปีที่แล้ว

      email me at abhay10june1999@gmail.com

  • @divyanshutripathi5305
    @divyanshutripathi5305 ปีที่แล้ว

    please make more oops videos in java

  • @HamedAthari
    @HamedAthari ปีที่แล้ว

    take this like and subscribe😍

  • @gazalkhan8124
    @gazalkhan8124 3 ปีที่แล้ว

    Can we add this in a resume when we go for placement

    • @_eazyalgo
      @_eazyalgo  3 ปีที่แล้ว

      No you cannot. This is just for learning OOP

  • @clayvlogg605
    @clayvlogg605 2 ปีที่แล้ว

    Can a database handling project make in core Java?

    • @_eazyalgo
      @_eazyalgo  2 ปีที่แล้ว

      I don't think so you can have database in your project by just using core java.

  • @tusharbhatia6777
    @tusharbhatia6777 ปีที่แล้ว

    #doubt @EazyAlgo
    why we used setter when we already set our values in constructor?

    • @tonystark6215
      @tonystark6215 17 วันที่ผ่านมา

      To verify

    • @tonystark6215
      @tonystark6215 17 วันที่ผ่านมา

      Used protected access modifiers

  • @codewithharis
    @codewithharis 2 ปีที่แล้ว

    Sir make front end of game also

    • @_eazyalgo
      @_eazyalgo  2 ปีที่แล้ว

      Currently don't have any plans for that

  • @mouninor1434
    @mouninor1434 2 ปีที่แล้ว

    Can we add this to mini project

    • @_eazyalgo
      @_eazyalgo  2 ปีที่แล้ว

      You can add, but it might not provide value to resume, its just for clearing concept regarding OOP

  • @shivashanker359
    @shivashanker359 2 ปีที่แล้ว

    Ok

  • @rajatnaskar5026
    @rajatnaskar5026 2 ปีที่แล้ว

    can u tell me how can i inject this code in GUI format?

    • @_eazyalgo
      @_eazyalgo  2 ปีที่แล้ว

      You can create classes with same name and paste the code from github

    • @meghamohandas8084
      @meghamohandas8084 2 ปีที่แล้ว

      Did u created gui for this. Can u plz tell me how

  • @erianaretnoputri7883
    @erianaretnoputri7883 2 ปีที่แล้ว

    Sir Why I run your code still error?

    • @_eazyalgo
      @_eazyalgo  2 ปีที่แล้ว

      Email me @ abhay10june1999@gmail.com with detailed explanation of issue

  • @ravikiran4015
    @ravikiran4015 2 ปีที่แล้ว

    Can you show the case diagram for this project?

    • @_eazyalgo
      @_eazyalgo  2 ปีที่แล้ว

      Caught up with my job man, will try to do from next videos

    • @ravikiran4015
      @ravikiran4015 2 ปีที่แล้ว

      Yeah thanks bro..

  • @golsson94
    @golsson94 2 ปีที่แล้ว

    Hi!
    It seems that the heal() method does not work on player 2 for me.
    This is what i do:
    1) Shoot with gun
    2) heal
    3) shoot with gun again
    Now after the heal command, it says "health is 100 but after shooting the second time it is evident that it didnt work since is health is equivalent to having been shot twice.
    Is this because heal() method is declared in the player 1 class and cant acces the private variable health in the player2 class?
    Vary nice tutorial, I am greatful for your response.

  • @akanshabhardwaj9523
    @akanshabhardwaj9523 2 ปีที่แล้ว

    Bhaiya error aarhi h kya aap bta skte ho ,main fill mai ,maine eclipse pr try Kiya but I can't find the error ,

    • @_eazyalgo
      @_eazyalgo  2 ปีที่แล้ว

      email me your problem with screenshots at abhay10june1999@gmail.com

    • @akanshabhardwaj9523
      @akanshabhardwaj9523 2 ปีที่แล้ว

      @@_eazyalgo okk I can send you

  • @bhavanisankarreddyguntaka3214
    @bhavanisankarreddyguntaka3214 2 ปีที่แล้ว

    How it possible to heal player to with your code i think its not possible if yes can you explain it

    • @_eazyalgo
      @_eazyalgo  2 ปีที่แล้ว

      It's just a project to understand oop

    • @bhavanisankarreddyguntaka3214
      @bhavanisankarreddyguntaka3214 2 ปีที่แล้ว

      That's why i am asking your just override method heal in player2 but there is no use . If there is no use with that method why should we created and overrided

    • @_eazyalgo
      @_eazyalgo  2 ปีที่แล้ว +1

      @@bhavanisankarreddyguntaka3214 I left that and later realized this, you can give more flexibility to player2 if you want

    • @bhavanisankarreddyguntaka3214
      @bhavanisankarreddyguntaka3214 2 ปีที่แล้ว

      @@_eazyalgo okay done

  • @Bhuiyar_18
    @Bhuiyar_18 ปีที่แล้ว

    How to play this game other person not coder please tell me

    • @_eazyalgo
      @_eazyalgo  ปีที่แล้ว

      You need a coder friend then

    • @Bhuiyar_18
      @Bhuiyar_18 ปีที่แล้ว

      @@_eazyalgo tum bata sakte ho ki hame ese kuch condition laga ke methods chalye ki f press karne gun1 se fire ho aur g press karne par gun 2 se fire ho aisa kuch kar sakte h

    • @Bhuiyar_18
      @Bhuiyar_18 ปีที่แล้ว

      @@_eazyalgo if you can do it then make a short video on it if not than sorry for my comment

    • @_eazyalgo
      @_eazyalgo  ปีที่แล้ว

      @@Bhuiyar_18 this is a great idea by the way, will definitely try to work on it.

    • @Bhuiyar_18
      @Bhuiyar_18 ปีที่แล้ว

      Ok

  • @DarkGamerOfficial34
    @DarkGamerOfficial34 2 ปีที่แล้ว

    Sir i tried making this but when I run the main class code it shows error expected and error not a statement. Please help sir

    • @_eazyalgo
      @_eazyalgo  2 ปีที่แล้ว +1

      Email me the error and the screenshot @abhay10june1999@gmail.com

    • @DarkGamerOfficial34
      @DarkGamerOfficial34 2 ปีที่แล้ว

      @@_eazyalgo sir actually I'm trying to do this project in my phone in dcoder ide since I don't have any computer so I'm gonna send you the screenshot

    • @DarkGamerOfficial34
      @DarkGamerOfficial34 2 ปีที่แล้ว

      @@_eazyalgo sir i sent you

  • @fasihulhussan7240
    @fasihulhussan7240 3 ปีที่แล้ว

    Sir may i know the system features ; project scope & operating environment

    • @_eazyalgo
      @_eazyalgo  3 ปีที่แล้ว

      It's done on IntelliJ Idea by jetBrains at OS in Mac OS big Sur.