brod pag buhat og imo yaw pag salig sa uban..
![]()
lisod jud mag buhat kun ang imung nakat.onan copy and paste lng
gamit ug mga rapid applications development nga language TS like VB kay dali ra kaayo kahimo ug buttons para sa numbers ug textfield para sa result..drag and drop ra.
para sa android ts or iphone?
if calculator, visual basic mas easier kay sa uban languages. naa man daghan ma search nga codes sa google. pero ayaw lng copyaha pud tanan! sabta ang logic unya paghimo jud ug imoha code from scratch. references nlng nang sample codes from google... heheeh..
snake.. hmmm.. its a loop of enqueue-dequeue na process.. you can use linked list na data structure..
imagine ang dots/pixels sa body sa imu snake kay kaning mga numbers
1234567890
at this point ang 0 imung head...
step 1) dequeue from the back (1)
step 2) enqueue that object sa front
1234567890
_2345678901 <--- 1 na ang head
__3456789012
___4567890123 <--- 3 na ang head. now you can see na mu forward na ang snake.. neglect the trailing underscores..
step 3) continue the process until you meet another food(dot)
step 4) enqueue ang new food sa front.
mao nay basic concept niya..ang pag paliko nalang ug pag pasunod sa tail sa pagliko sa imung head.
geez, kung di ka intersado kat.on og imo, you might want to consider shifting away from programming/engineering courses and as far away from computer science even.![]()
speaking ang GUI sa Java lisod-lisod gyd siya. labi imo na sun.on kanang CAL sa windows. Lisod kaau pagresize2x sa button, maayo man 2ng sa VB kai dali ra kaau.
Similar Threads |
|