Find Jobs
Hire Freelancers

need help with OOP for simple game

€8-30 EUR

Tamamlandı
İlan edilme: 3 yıldan fazla önce

€8-30 EUR

Teslimde ödenir
I need to make a simple game in which one controls a ball and needs to push other balls off of a platform. Only pathlib (or os) and numpy can be used to make this work. The platform is made of empty tiles (0) and walls (1) separated by empty columns in a .txt file. The ball that is controlled is represented by the letter X. The other balls are represented by other letters (A, B, C...). The player gives a command to move the ball that consists of direction and momentum. "R4" means 4 moves to the right, "U2" means 2 moves up, "D5" means 5 moves down, "L1" means one move to the left. The ball can move horizontally and vertically, not diagonally. If a ball touches another, the ball stops and the other ball moves forward with the same momentum as the ball had left at the moment of the collision. If a ball collides with a wall, it loses 1 momentum and travels back in the opposite direction. Every momentum added by command equals -100 points and every ball dropped off the platform equals +1000 points. If the X ball falls off the platform, it's game over. If all the balls are gone except the X ball, the game is won and the score is printed. Important events like collisions should also be printed, for example: ‘X collided with A’, ‘A collided with a wall’, ‘A collided with X’, ‘X fell off the map’. Every class and every large related chunk of code (like file input/output functions) should be in their own .py file. For instance, if you have a Ball class and a ’main’ file, you should have a [login to view URL] and a [login to view URL] file. then use the Ball class in the main file by using import Ball. I have added some examplary maps.
Proje No: 28857110

Proje hakkında

3 teklif
Uzaktan proje
Son aktiviteden bu yana geçen zaman 3 yıl önce

Biraz para mı kazanmak istiyorsunuz?

Freelancer'da teklif vermenin faydaları

Bütçenizi ve zaman çerçevenizi belirleyin
Çalışmanız için ödeme alın
Teklifinizin ana hatlarını belirleyin
Kaydolmak ve işlere teklif vermek ücretsizdir
Seçilen:
Kullanıcı Avatarı
Hello Python EXPERT I have read your description and I am so interested in your project. You can see well experienced and skillful python +15 years of experience Confident in your project and I can finish it clearly on time. Working with me, you will have a good experience and a good friend and save more time and money. Best regards!
€20 EUR 1 gün içinde
0,0 (0 değerlendirme)
0,0
0,0
3 freelancers are bidding on average €21 EUR for this job
Kullanıcı Avatarı
Hi! I can help you. I'm expert in Python..............................................................................!
€19 EUR 7 gün içinde
0,0 (0 değerlendirme)
0,0
0,0
Kullanıcı Avatarı
Hello, I hope you'll be doing great. I am a ML Engineer and Data Analyst. I specializes in Python and OOP and have completely understood your requirements. I plan to do this project as it seems interesting and fun. I will also perfectly explain the project to you easily and will review the project's performance till you are satisfied. Hoping to get you on-board soon for this project. Message me for any query. Kind Regards
€25 EUR 5 gün içinde
0,0 (0 değerlendirme)
0,0
0,0

Müşteri hakkında

   BELGIUM bayrağı
Maaseik, Belgium
0,0
0
Ödeme yöntemi onaylandı
Oca 8, 2021 tarihinden bu yana üye

Müşteri Doğrulaması

Teşekkürler! Ücretsiz kredinizi talep etmeniz için size bir bağlantı gönderdik.
E-postanız gönderilirken bir şeyler yanlış gitti. Lütfen tekrar deneyin.
Kayıtlı Kullanıcı İlan Edlien Toplam İş
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ön izleme yükleniyor
Coğrafik konum için izin verildi.
Giriş oturumunuzun süresi doldu ve çıkış yaptınız. Lütfen tekrar giriş yapın.