I am looking for some help.

Alright, I have been learning Java for about 6 months on and off, and doing well I understand quite alot, But recently I have been dabbling in game development.
Most of the stuff I find is far more advanced than I am used to and I was wondering if anyone had ANY basic source code, that is very small just kind of a demo for a Zelda like Action Adventure game.

I am talking maybe like one to two screen(s) to see how transitions work possibly, Maybe an enemy movement to dissect that. Walking animation maybe a sword swing. Like I said very very basic. I have searched online found a few sites with some decent source code but never really found what I was looking for.

Anyone have any ideas on where I can look, or even just have some src on hand or anything ?

Thank you in advance.
EDIT
I found a few other topics around that have some tutorials, searching the wrong phrase neway…
Still any help would be appreciated.

Most of what you are saying is not as ‘basic’ as you are implying. However, some moving and network code (network isn’t finished) can be seen at my project, which is completely open source, although the source is up on github and right now isn’t a full build (In development), but you can look at the earlier commits that don’t have any networking code. Note this is all in Slick2D. It’s pacman, not even completed at that, and it currently has 5 packages and 49 classes, and isn’t as abstract as I want. This doesn’t include
A: Animations
B: Scrolling
C: Most of the networking
Although, to be fair, it does have an A* algorithm for the AI.

Snippets
AbstractGameMode#doTick(long)


gameTime += delta;
		doMovement(player1, player1Modifier);
		doMovement(player2, player2Modifier);
		
		Rectangle2D.Float pla1 = player1.getLocationAsRect();
		Rectangle2D.Float pla2 = player2.getLocationAsRect();
		
		if(pla1.intersects(pla2))
			onPlayerCollide(time);
		
		checkEntityCollisions(time);