Seamus Donahue

@SeamusDonahue (70)
I am a coder who has a passion for game design and computer programming. I seem to use python and python with turtle most here on repl.
How to not print None
posted to Ask by abdullahrajput9

input already returns a string with whatever the user typed. @dhruvkumarrajan

How to not print None
posted to Ask by abdullahrajput9

this is if your working in python 3, in 2 I cant help you.

How to not print None
posted to Ask by abdullahrajput9

just do print(letter,end="",flush=True)
sys is not needed here, Idk if that will fix it, but I do know that optimization is possible

4 languages that can kill themselves
posted to Share by DynamicSquid

so basically the file opens a new file then commits lego step..... truly the best use of technology what a genius

Code Jam #10

Yes, I am communicating through a text box, no audio is exiting your computer. @DynamicSquid

Code Jam #10

then how are you on repl.it.... major plot hole revealed @DynamicSquid

PLATFORMER - NEW BEGINNINGS - BETA
posted to Share by GeneralBaker

wdym timer? counting down up? for what purpose? I could help you, just be more specific. @QBeaumont

I made a 🐍Snake AI 💻
posted to Share by DynamicSquid

very cool nice job!

189 lines of code just to say "Hello!"
posted to Share by KeeganPowers

talk about a rube goldburg machine....

Python with Turtle: orbital dodge
posted to Share by SeamusDonahue

good idea, also its not a fake error, in python you can manually raise errors by using the raise command:

raise TypeError("the error can be any valid type I just used type error idk why")

@dabombdgdzjr

Python with Turtle: orbital dodge
posted to Share by SeamusDonahue

tysm, I plan on keeping the good work up and I'm glad you like my game! @dabombdgdzjr

Python with Turtle: Paper Tanks
posted to Share by SeamusDonahue

nobody paid attention to this... I was gonna post a version with ai but I guess it will just sit in my repls...

Python with Turtle: Paper Tanks
posted to Share by SeamusDonahue

thanks! @thewaydu

8-Ball Test Game!
posted to Share by Maxwarlock1101

game is not hard enough
test failed!

Among Us Character (Java Processing Project)
posted to Share by elipie

Among Us Character (Java Processing Project) was not the imposter
(6,000,000 imposters remain)

I made repl.it in under a 7 days
posted to Share by rafrafraf

this is really cool actually.

Python with Turtle: Tron!
posted to Share by SeamusDonahue

look at the log, it waits for you to hit enter to start! @DynamicSquid

Python with Turtle: Shoot each other!
posted to Share by SeamusDonahue

never mind @FishingFights I added reloading

Rpg combat!!!
posted to Share by SeamusDonahue

@FunnyLamma will update it soon then, for now im working on something. will probably add more weapons/levels/enemies

Rpg combat!!!
posted to Share by SeamusDonahue

@FunnyLamma then suggest a few ;)

Game in Python
posted to Tutorials by LeonDoesCode

make sure that in your main loop you have inserted the update screen code and you need to hit a key before it updates (wasd) @JayRoy

Mario maker
posted to Share by Coder100

the implication was that, that was the first kiazo level... @Coder100

How to not print None
posted to Ask by abdullahrajput9

no, it's fine. It didn't answer the question here, but something else did, that's just how it works :) @abdullahrajput9

User input in C (Operating System Development)
posted to Ask by LucasAllori

oh sorry to bother you then, I like what your doing here, have a nice day. @LucasAllori

Good C# games
posted to Ask by AlexStewart3

I'm not sure this helps because I code in python, but I did something sorta similar with my text-based game: rpg-combat-durability (it has durability in its name because its a fork of a really old version without durability)

User input in C (Operating System Development)
posted to Ask by LucasAllori

well the program didn't work prompt.c: In function ‘irq13_handler’: prompt.c:258:9: error: request for member ‘offset_lowerbits’ in something not a structure or union IDT[32].offset_lowerbits = irq0_address & 0xffff; ^ prompt.c:259:9: error: request for member ‘selector’ in something not a structure or union IDT[32].selector = 0x08; /* KERNEL_CODE_SEGMENT_OFFSET */ ^ prompt.c:260:9: error: request for member ‘zero’ in something not a structure or union IDT[32].zero = 0; ^ prompt.c:261:9: error: request for member ‘type_attr’ in something not a structure or union IDT[32].type_attr = 0x8e; /* INTERRUPT_GATE */ ^ prompt.c:262:9: error: request for member ‘offset_higherbits’ in something not a structure or union IDT[32].offset_higherbits = (irq0_address & 0xffff0000) >> 16; ^ prompt.c:265:9: error: request for member ‘offset_lowerbits’ in something not a structure or union IDT[33].offset_lowerbits = irq1_address & 0xffff; ^ prompt.c:266:9: error: request for member ‘selector’ in something not a structure or union IDT[33].selector = 0x08; /* KERNEL_CODE_SEGMENT_OFFSET */ ^ prompt.c:267:9: error: request for member ‘zero’ in something not a structure or union IDT[33].zero = 0; ^ prompt.c:268:9: error: request for member ‘type_attr’ in something not a structure or union IDT[33].type_attr = 0x8e; /* INTERRUPT_GATE */ ^ prompt.c:269:9: error: request for member ‘offset_higherbits’ in something not a structure or union IDT[33].offset_higherbits = (irq1_address & 0xffff0000) >> 16; ^ prompt.c:272:9: error: request for member ‘offset_lowerbits’ in something not a structure or union IDT[34].offset_lowerbits = irq2_address & 0xffff; ^ prompt.c:273:9: error: request for member ‘selector’ in something not a structure or union IDT[34].selector = 0x08; /* KERNEL_CODE_SEGMENT_OFFSET */ ^ prompt.c:274:9: error: request for member ‘zero’ in something not a structure or union IDT[34].zero = 0; ^ prompt.c:275:9: error: request for member ‘type_attr’ in something not a structure or union IDT[34].type_attr = 0x8e; /* INTERRUPT_GATE */ ^ prompt.c:276:9: error: request for member ‘offset_higherbits’ in something not a structure or union IDT[34].offset_higherbits = (irq2_address & 0xffff0000) >> 16; ^ prompt.c:279:9: error: request for member ‘offset_lowerbits’ in something not a structure or union IDT[35].offset_lowerbits = irq3_address & 0xffff; ^ prompt.c:280:9: error: request for member ‘selector’ in something not a structure or union IDT[35].selector = 0x08; /* KERNEL_CODE_SEGMENT_OFFSET */ ^ prompt.c:281:9: error: request for member ‘zero’ in something not a structure or union IDT[35].zero = 0; ^ prompt.c:282:9: error: request for member ‘type_attr’ in something not a structure or union IDT[35].type_attr = 0x8e; /* INTERRUPT_GATE */ ^ prompt.c:283:9: error: request for member ‘offset_higherbits’ in something not a structure or union IDT[35].offset_higherbits = (irq3_address & 0xffff0000) >> 16; ^ prompt.c:286:9: error: request for member ‘offset_lowerbits’ in something not a structure or union IDT[36].offset_lowerbits = irq4_address & 0xffff; ^ prompt.c:287:9: error: request for member ‘selector’ in something not a structure or union IDT[36].selector = 0x08; /* KERNEL_CODE_SEGMENT_OFFSET */ ^ prompt.c:288:9: error: request for member ‘zero’ in something not a structure or union IDT[36].zero = 0; ^ prompt.c:289:9: error: request for member ‘type_attr’ in something not a structure or union IDT[36].type_attr = 0x8e; /* INTERRUPT_GATE */ ^ prompt.c:290:9: error: request for member ‘offset_higherbits’ in something not a structure or union IDT[36].offset_higherbits = (irq4_address & 0xffff0000) >> 16; ^ prompt.c:293:9: error: request for member ‘offset_lowerbits’ in something not a structure or union IDT[37].offset_lowerbits = irq5_address & 0xffff; ^ prompt.c:294:9: error: request for member ‘selector’ in something not a structure or union IDT[37].selector = 0x08; /* KERNEL_CODE_SEGMENT_OFFSET */ ^ prompt.c:295:9: error: request for member ‘zero’ in something not a structure or union IDT[37].zero = 0; ^ prompt.c:296:9: error: request for member ‘type_attr’ in something not a structure or union IDT[37].type_attr = 0x8e; /* INTERRUPT_GATE */ ^ prompt.c:297:9: error: request for member ‘offset_higherbits’ in something not a structure or union IDT[37].offset_higherbits = (irq5_address & 0xffff0000) >> 16; ^ prompt.c:300:9: error: request for member ‘offset_lowerbits’ in something not a structure or union IDT[38].offset_lowerbits = irq6_address & 0xffff; ^ prompt.c:301:9: error: request for member ‘selector’ in something not a structure or union IDT[38].selector = 0x08; /* KERNEL_CODE_SEGMENT_OFFSET */ ^ prompt.c:302:9: error: request for member ‘zero’ in something not a structure or union IDT[38].zero = 0; ^ prompt.c:303:9: error: request for member ‘type_attr’ in something not a structure or union IDT[38].type_attr = 0x8e; /* INTERRUPT_GATE */ ^ prompt.c:304:9: error: request for member ‘offset_higherbits’ in something not a structure or union IDT[38].offset_higherbits = (irq6_address & 0xffff0000) >> 16; ^ prompt.c:307:9: error: request for member ‘offset_lowerbits’ in something not a structure or union IDT[39].offset_lowerbits = irq7_address & 0xffff; ^ prompt.c:308:9: error: request for member ‘selector’ in something not a structure or union IDT[39].selector = 0x08; /* KERNEL_CODE_SEGMENT_OFFSET */ ^ prompt.c:309:9: error: request for member ‘zero’ in something not a structure or union IDT[39].zero = 0; ^ prompt.c:310:9: error: request for member ‘type_attr’ in something not a structure or union IDT[39].type_attr = 0x8e; /* INTERRUPT_GATE */ ^ prompt.c:311:9: error: request for member ‘offset_higherbits’ in something not a structure or union IDT[39].offset_higherbits = (irq7_address & 0xffff0000) >> 16; ^ prompt.c:314:9: error: request for member ‘offset_lowerbits’ in something not a structure or union IDT[40].offset_lowerbits = irq8_address & 0xffff; ^ prompt.c:315:9: error: request for member ‘selector’ in something not a structure or union IDT[40].selector = 0x08; /* KERNEL_CODE_SEGMENT_OFFSET */ ^ prompt.c:316:9: error: request for member ‘zero’ in something not a structure or union IDT[40].zero = 0; ^ prompt.c:317:9: error: request for member ‘type_attr’ in something not a structure or union IDT[40].type_attr = 0x8e; /* INTERRUPT_GATE */ ^ prompt.c:318:9: error: request for member ‘offset_higherbits’ in something not a structure or union IDT[40].offset_higherbits = (irq8_address & 0xffff0000) >> 16; ^ prompt.c:321:9: error: request for member ‘offset_lowerbits’ in something not a structure or union IDT[41].offset_lowerbits = irq9_address & 0xffff; ^ prompt.c:322:9: error: request for member ‘selector’ in something not a structure or union IDT[41].selector = 0x08; /* KERNEL_CODE_SEGMENT_OFFSET */ ^ prompt.c:323:9: error: request for member ‘zero’ in something not a structure or union IDT[41].zero = 0; ^ prompt.c:324:9: error: request for member ‘type_attr’ in something not a structure or union IDT[41].type_attr = 0x8e; /* INTERRUPT_GATE */ ^ prompt.c:325:9: error: request for member ‘offset_higherbits’ in something not a structure or union IDT[41].offset_higherbits = (irq9_address & 0xffff0000) >> 16; ^ prompt.c:328:9: error: request for member ‘offset_lowerbits’ in something not a structure or union IDT[42].offset_lowerbits = irq10_address & 0xffff; ^ prompt.c:329:9: error: request for member ‘selector’ in something not a structure or union IDT[42].selector = 0x08; /* KERNEL_CODE_SEGMENT_OFFSET */ ^ prompt.c:330:9: error: request for member ‘zero’ in something not a structure or union IDT[42].zero = 0; ^ prompt.c:331:9: error: request for member ‘type_attr’ in something not a structure or union IDT[42].type_attr = 0x8e; /* INTERRUPT_GATE */ ^ prompt.c:332:9: error: request for member ‘offset_higherbits’ in something not a structure or union IDT[42].offset_higherbits = (irq10_address & 0xffff0000) >> 16; ^ prompt.c:335:9: error: request for member ‘offset_lowerbits’ in something not a structure or union IDT[43].offset_lowerbits = irq11_address & 0xffff; ^ prompt.c:336:9: error: request for member ‘selector’ in something not a structure or union IDT[43].selector = 0x08; /* KERNEL_CODE_SEGMENT_OFFSET */ ^ prompt.c:337:9: error: request for member ‘zero’ in something not a structure or union IDT[43].zero = 0; ^ prompt.c:338:9: error: request for member ‘type_attr’ in something not a structure or union IDT[43].type_attr = 0x8e; /* INTERRUPT_GATE */ ^ prompt.c:339:9: error: request for member ‘offset_higherbits’ in something not a structure or union IDT[43].offset_higherbits = (irq11_address & 0xffff0000) >> 16; ^ prompt.c:342:9: error: request for member ‘offset_lowerbits’ in something not a structure or union IDT[44].offset_lowerbits = irq12_address & 0xffff; ^ prompt.c:343:9: error: request for member ‘selector’ in something not a structure or union IDT[44].selector = 0x08; /* KERNEL_CODE_SEGMENT_OFFSET */ ^ prompt.c:344:9: error: request for member ‘zero’ in something not a structure or union IDT[44].zero = 0; ^ prompt.c:345:9: error: request for member ‘type_attr’ in something not a structure or union IDT[44].type_attr = 0x8e; /* INTERRUPT_GATE */ ^ prompt.c:346:9: error: request for member ‘offset_higherbits’ in something not a structure or union IDT[44].offset_higherbits = (irq12_address & 0xffff0000) >> 16; ^ prompt.c:349:9: error: request for member ‘offset_lowerbits’ in something not a structure or union IDT[45].offset_lowerbits = irq13_address & 0xffff; ^ prompt.c:350:9: error: request for member ‘selector’ in something not a structure or union IDT[45].selector = 0x08; /* KERNEL_CODE_SEGMENT_OFFSET */ ^ prompt.c:351:9: error: request for member ‘zero’ in something not a structure or union IDT[45].zero = 0; ^ prompt.c:352:9: error: request for member ‘type_attr’ in something not a structure or union IDT[45].type_attr = 0x8e; /* INTERRUPT_GATE */ ^ prompt.c:353:9: error: request for member ‘offset_higherbits’ in something not a structure or union IDT[45].offset_higherbits = (irq13_address & 0xffff0000) >> 16; ^ prompt.c:356:9: error: request for member ‘offset_lowerbits’ in something not a structure or union IDT[46].offset_lowerbits = irq14_address & 0xffff; ^ prompt.c:357:9: error: request for member ‘selector’ in something not a structure or union IDT[46].selector = 0x08; /* KERNEL_CODE_SEGMENT_OFFSET */ ^ prompt.c:358:9: error: request for member ‘zero’ in something not a structure or union IDT[46].zero = 0; ^ prompt.c:359:9: error: request for member ‘type_attr’ in something not a structure or union IDT[46].type_attr = 0x8e; /* INTERRUPT_GATE */ ^ prompt.c:360:9: error: request for member ‘offset_higherbits’ in something not a structure or union IDT[46].offset_higherbits = (irq14_address & 0xffff0000) >> 16; ^ prompt.c:363:9: error: request for member ‘offset_lowerbits’ in something not a structure or union IDT[47].offset_lowerbits = irq15_address & 0xffff; ^ prompt.c:364:9: error: request for member ‘selector’ in something not a structure or union IDT[47].selector = 0x08; /* KERNEL_CODE_SEGMENT_OFFSET */ ^ prompt.c:365:9: error: request for member ‘zero’ in something not a structure or union IDT[47].zero = 0; ^ prompt.c:366:9: error: request for member ‘type_attr’ in something not a structure or union IDT[47].type_attr = 0x8e; /* INTERRUPT_GATE */ ^ prompt.c:367:9: error: request for member ‘offset_higherbits’ in something not a structure or union IDT[47].offset_higherbits = (irq15_address & 0xffff0000) >> 16; ^ prompt.c:370:10: error: request for member ‘offset_lowerbits’ in something not a structure or union IDT[128].offset_lowerbits = syscall_address & 0xffff; ^ prompt.c:371:10: error: request for member ‘selector’ in something not a structure or union IDT[128].selector = 0x08; /* KERNEL_CODE_SEGMENT_OFFSET */ ^ prompt.c:372:10: error: request for member ‘zero’ in something not a structure or union IDT[128].zero = 0; ^ prompt.c:373:10: error: request for member ‘type_attr’ in something not a structure or union IDT[128].type_attr = 0x8e; /* INTERRUPT_GATE */ ^ prompt.c:374:10: error: request for member ‘offset_higherbits’ in something not a structure or union IDT[128].offset_higherbits = (syscall_address & 0xffff0000) >> 16; ^ ld: cannot find kernelasm.o: No such file or directory Running the OS... qemu: could not load kernel 'kernel.bin': No such file or directory Finished!
but this is still cool and goes so far above my head, it's in space!