@@ -0,0 +1,929 @@
+%22%22%22%0ASimple binary oddball paradigm%0A%0APratham Desai%0A%22%22%22%0Aimport sys%0Aimport pygame%0A%0ARED = (255, 0, 0)%0ABLUE = (0, 0, 255)%0Asurface_width = 500%0Asurface_height = 500%0Adelta = 1000%0A%0Adef game():%0A%0A     pygame.init()%0A%0A     surface = pygame.display.set_mode((surface_width, surface_height))%0A%0A     current_time = pygame.time.get_ticks()%0A%0A     interval = current_time + delta%0A     show = False%0A%0A     while True:%0A          for event in pygame.event.get():%0A               if event.type == pygame.QUIT:%0A                    pygame.quit()%0A                    sys.exit()%0A%0A          current_time = pygame.time.get_ticks()%0A%0A          if current_time %3E= interval:%0A%0A               interval = current_time + delta%0A               show = not show%0A%0A          surface.fill(RED)%0A%0A          if show:%0A               pygame.draw.rect(surface, BLUE, (0, 0, surface_width, surface_height))%0A%0A          pygame.display.update()%0A%0Aif __name__ == '__main__':%0A%0A     game()%0A

Create OddBallParadigm.py