Hai semua, kali ini aku akan mencoba membuat game-game sederhana menggunakan Scratch. Aku mengikuti tutorial yang diberikan Kevin Briggs dari akun Youtubenya.
Ini dari tutorial pertama
Tutorial Kedua
Dapatkan link
Facebook
X
Pinterest
Email
Aplikasi Lainnya
Komentar
Postingan populer dari blog ini
Tugas Membuat Pemandangan Menggunakan BlueJ PBO-B Nama : Zahrul Zizki D NRP : 05111740000168 Kelas : PBO B CANVAS import javax.swing.*; import java.awt.*; import java.util.List; import java.util.*; /** * Membuat canvas * * @author (Zahrul Zizki D) * */ public class Canvas { // Note: The implementation of this class (specifically the handling of // shape identity and colors) is slightly more complex than necessary. This // is done on purpose to keep the interface and instance fields of the // shape objects in this project clean and simple for educational purposes. private static Canvas canvasSingleton; /** * Factory method to get the canvas singleton object. */ public static Canvas getCanvas() { if(canvasSingleton == null) { canvasSingleton = new Canvas("BlueJ Shapes Demo", 1000, 800, Color.white); } canvas...
TUGAS PEMROGRAMAN BERORIENTASI OBJEK kelas b aUCTION DAN MUSIC ZAHRUL ZIZKI DINANTO 05111740000168 PBO B AUCTION : SOURCE CODE : AUCTION import java.util.ArrayList; /** * A simple model of an auction *The auction mantains a list of lots of arbitatry length * @author Zahrul Zizki D 05111740000168 * @version 10.0/20181008 */ public class Auction { private ArrayList<Lot> lots; private int LotNumber; public Auction() { lots = new ArrayList<Lot>(); LotNumber = 1; } public void enterLot(String description) { lots.add(new Lot(LotNumber, description)); LotNumber++; } public void showLots() { for(Lot lot : lots) { System.out.println(lot.detail()); } } public void MakeBid(int CurrentlotNumber, Person bidder, long value) { Lot selectedLot = getLot(CurrentlotNumber); if(selectedLot != ...
TUGAS PBO MESIN TIKET : ZAHRUL ZIZKI DINANTO 05111740000168 BERIKUT ADALAH SOURCE CODE UNTUK MESIN TIKET : import java.util.Scanner; public class TicketMachine { // untuk menyimpan harga private int harga; // untuk menghitung uang setelah ditambah atau dikurang. private int balance; // tunuk total. private int total; //untuk menginputkan harga public TicketMachine(int HargaTiket) { harga = HargaTiket; balance = 0; total = 0; } //untuk melihat harga public int getharga() { return harga; } //untuk melihat hasil setelah ditambah atau dikurang public int getBalance() { return balance; } //untuk menginsertkan uang sipembeli public void insertMoney(int amount) { balance = balance + amount; } /** * Print a ticket. * Update the total collected and * reduce the balance to zero. */ public void printTicket() { Sy...
Komentar
Posting Komentar